Commit 3937871d91e4f43e4aaf0b214c68a7857c0e6e80
1 parent
addacc7d6f
Exists in
master
and in
20 other branches
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>
Showing 1 changed file with 0 additions and 2 deletions Side-by-side Diff
fs/ext2/xattr.c
... | ... | @@ -791,7 +791,6 @@ |
791 | 791 | if (ce) |
792 | 792 | mb_cache_entry_free(ce); |
793 | 793 | ext2_free_blocks(inode, EXT2_I(inode)->i_file_acl, 1); |
794 | - mark_inode_dirty(inode); | |
795 | 794 | get_bh(bh); |
796 | 795 | bforget(bh); |
797 | 796 | unlock_buffer(bh); |
... | ... | @@ -806,7 +805,6 @@ |
806 | 805 | if (IS_SYNC(inode)) |
807 | 806 | sync_dirty_buffer(bh); |
808 | 807 | dquot_free_block_nodirty(inode, 1); |
809 | - mark_inode_dirty(inode); | |
810 | 808 | } |
811 | 809 | EXT2_I(inode)->i_file_acl = 0; |
812 | 810 |