Commit f91ac63b authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] fix oops in reiserfs_ioctl()

Leftovers from the kmap_atomic conversion
parent 0b9fbc67
...@@ -80,7 +80,6 @@ int reiserfs_unpack (struct inode * inode, struct file * filp) ...@@ -80,7 +80,6 @@ int reiserfs_unpack (struct inode * inode, struct file * filp)
/* conversion can change page contents, must flush */ /* conversion can change page contents, must flush */
flush_dcache_page(page) ; flush_dcache_page(page) ;
REISERFS_I(inode)->i_flags |= i_nopack_mask; REISERFS_I(inode)->i_flags |= i_nopack_mask;
kunmap(page) ; /* mapped by prepare_write */
out_unlock: out_unlock:
unlock_page(page) ; unlock_page(page) ;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment