Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3937871d authored by Al Viro's avatar Al Viro
Browse files

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: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent addacc7d
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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;