Skip to content

Commit

Permalink
Don't dirty the victim in ext2_xattr_delete_inode()
Browse files Browse the repository at this point in the history
... it's beyond fs-writeback reach already - writeback won't
be started at that point.

Signed-off-by: Al Viro <[email protected]>
  • Loading branch information
Al Viro committed Aug 9, 2010
1 parent addacc7 commit 3937871
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions fs/ext2/xattr.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -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;

Expand Down

0 comments on commit 3937871

Please sign in to comment.