summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2010-07-21 23:22:47 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2010-08-09 22:47:56 +0200
commit3937871d91e4f43e4aaf0b214c68a7857c0e6e80 (patch)
tree1375f4cecdcb3fbab1ca1615b4d4ad1ec80d2c4c /fs
parentTake dirtying the inode to callers of ext2_free_blocks() (diff)
downloadlinux-3937871d91e4f43e4aaf0b214c68a7857c0e6e80.tar.xz
linux-3937871d91e4f43e4aaf0b214c68a7857c0e6e80.zip
Don't dirty the victim in ext2_xattr_delete_inode()
... it's beyond fs-writeback reach already - writeback won't be started at that point. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs')
-rw-r--r--fs/ext2/xattr.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/ext2/xattr.c b/fs/ext2/xattr.c
index 25ff041058a7..5ab87e6edffc 100644
--- a/fs/ext2/xattr.c
+++ b/fs/ext2/xattr.c
@@ -791,7 +791,6 @@ ext2_xattr_delete_inode(struct inode *inode)
if (ce)
mb_cache_entry_free(ce);
ext2_free_blocks(inode, EXT2_I(inode)->i_file_acl, 1);
- mark_inode_dirty(inode);
get_bh(bh);
bforget(bh);
unlock_buffer(bh);
@@ -806,7 +805,6 @@ ext2_xattr_delete_inode(struct inode *inode)
if (IS_SYNC(inode))
sync_dirty_buffer(bh);
dquot_free_block_nodirty(inode, 1);
- mark_inode_dirty(inode);
}
EXT2_I(inode)->i_file_acl = 0;