summaryrefslogtreecommitdiffstats
path: root/fs/ext2
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2010-07-22 01:22:47 +0400
committerAl Viro <viro@zeniv.linux.org.uk>2010-08-09 16:47:56 -0400
commit3937871d91e4f43e4aaf0b214c68a7857c0e6e80 (patch)
tree1375f4cecdcb3fbab1ca1615b4d4ad1ec80d2c4c /fs/ext2
parentaddacc7d6f0f0bcce12adf9fe9e6455e1dfd74da (diff)
downloadop-kernel-dev-3937871d91e4f43e4aaf0b214c68a7857c0e6e80.zip
op-kernel-dev-3937871d91e4f43e4aaf0b214c68a7857c0e6e80.tar.gz
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>
Diffstat (limited to 'fs/ext2')
-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 25ff041..5ab87e6 100644
--- a/fs/ext2/xattr.c
+++ b/fs/ext2/xattr.c
@@ -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);
@@ -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;
OpenPOWER on IntegriCloud