]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
ext3: add writepage sanity checks
authorDmitry Monakhov <dmonakhov@openvz.org>
Tue, 2 Mar 2010 12:51:02 +0000 (15:51 +0300)
committerJan Kara <jack@suse.cz>
Thu, 4 Mar 2010 23:20:27 +0000 (00:20 +0100)
commit49792c806d0bfd53afc789dcdf50dc9bed2c5b83
treeb24280fa76abad273e0f009a9cfe49b594c2becf
parent7eb4969e04060dcf3fbd46af9c21b1059b853068
ext3: add writepage sanity checks

- There is theoretical possibility to perform writepage on
   RO superblock. Add explicit check for what case.
- Page must being locked before writepage.

Signed-off-by: Dmitry Monakhov <dmonakhov@openvz.org>
Signed-off-by: Jan Kara <jack@suse.cz>
fs/ext3/inode.c