aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2010-07-21 17:22:47 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2010-08-09 16:47:56 -0400
commit3937871d91e4f43e4aaf0b214c68a7857c0e6e80 (patch)
tree1375f4cecdcb3fbab1ca1615b4d4ad1ec80d2c4c
parentaddacc7d6f0f0bcce12adf9fe9e6455e1dfd74da (diff)
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>
-rw-r--r--fs/ext2/xattr.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/ext2/xattr.c b/fs/ext2/xattr.c
index 25ff041058a7..5ab87e6edffc 100644
--- a/fs/ext2/xattr.c
+++ b/fs/ext2/xattr.c
@@ -791,7 +791,6 @@ ext2_xattr_delete_inode(struct inode *inode)
791 if (ce) 791 if (ce)
792 mb_cache_entry_free(ce); 792 mb_cache_entry_free(ce);
793 ext2_free_blocks(inode, EXT2_I(inode)->i_file_acl, 1); 793 ext2_free_blocks(inode, EXT2_I(inode)->i_file_acl, 1);
794 mark_inode_dirty(inode);
795 get_bh(bh); 794 get_bh(bh);
796 bforget(bh); 795 bforget(bh);
797 unlock_buffer(bh); 796 unlock_buffer(bh);
@@ -806,7 +805,6 @@ ext2_xattr_delete_inode(struct inode *inode)
806 if (IS_SYNC(inode)) 805 if (IS_SYNC(inode))
807 sync_dirty_buffer(bh); 806 sync_dirty_buffer(bh);
808 dquot_free_block_nodirty(inode, 1); 807 dquot_free_block_nodirty(inode, 1);
809 mark_inode_dirty(inode);
810 } 808 }
811 EXT2_I(inode)->i_file_acl = 0; 809 EXT2_I(inode)->i_file_acl = 0;
812 810