diff options
author | Dmitry Monakhov <dmonakhov@openvz.org> | 2010-03-02 13:51:02 +0100 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2010-03-05 00:20:27 +0100 |
commit | 49792c806d0bfd53afc789dcdf50dc9bed2c5b83 (patch) | |
tree | b24280fa76abad273e0f009a9cfe49b594c2becf /fs/ext3/super.c | |
parent | ext3: Truncate allocated blocks if direct IO write fails to update i_size (diff) | |
download | linux-49792c806d0bfd53afc789dcdf50dc9bed2c5b83.tar.xz linux-49792c806d0bfd53afc789dcdf50dc9bed2c5b83.zip |
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>
Diffstat (limited to 'fs/ext3/super.c')
0 files changed, 0 insertions, 0 deletions