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:
parent
addacc7d6f
commit
3937871d91
1 changed files with 0 additions and 2 deletions
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue