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>
This commit is contained in:
Al Viro 2010-07-22 01:22:47 +04:00
parent addacc7d6f
commit 3937871d91

View file

@ -791,7 +791,6 @@ ext2_xattr_delete_inode(struct inode *inode)
if (ce) if (ce)
mb_cache_entry_free(ce); mb_cache_entry_free(ce);
ext2_free_blocks(inode, EXT2_I(inode)->i_file_acl, 1); ext2_free_blocks(inode, EXT2_I(inode)->i_file_acl, 1);
mark_inode_dirty(inode);
get_bh(bh); get_bh(bh);
bforget(bh); bforget(bh);
unlock_buffer(bh); unlock_buffer(bh);
@ -806,7 +805,6 @@ ext2_xattr_delete_inode(struct inode *inode)
if (IS_SYNC(inode)) if (IS_SYNC(inode))
sync_dirty_buffer(bh); sync_dirty_buffer(bh);
dquot_free_block_nodirty(inode, 1); dquot_free_block_nodirty(inode, 1);
mark_inode_dirty(inode);
} }
EXT2_I(inode)->i_file_acl = 0; EXT2_I(inode)->i_file_acl = 0;