diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2010-07-22 01:22:47 +0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2010-08-10 00:47:56 +0400 |
commit | 3937871d91e4f43e4aaf0b214c68a7857c0e6e80 (patch) | |
tree | 1375f4cecdcb3fbab1ca1615b4d4ad1ec80d2c4c | |
parent | addacc7d6f0f0bcce12adf9fe9e6455e1dfd74da (diff) | |
download | linux-3937871d91e4f43e4aaf0b214c68a7857c0e6e80.tar.xz |
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.c | 2 |
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) 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; |