Commit 3937871d authored by Al Viro's avatar Al Viro

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: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent addacc7d
...@@ -791,7 +791,6 @@ ext2_xattr_delete_inode(struct inode *inode) ...@@ -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) ...@@ -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;
......
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