ext2: remove unnecessary dentry_unhash on rmdir/rename_dir
authorSage Weil <sage@newdream.net>
Tue, 24 May 2011 20:06:18 +0000 (13:06 -0700)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 26 May 2011 11:26:56 +0000 (07:26 -0400)
commit5afcb940fa37f57d124155f30a1a8d7794a476e0
tree1205e0719b8f20e66b340e08a3ce612abfc96486
parent5a61a245f7489feec865264e2627c5071aef8c66
ext2: remove unnecessary dentry_unhash on rmdir/rename_dir

ext2 has no problems with lingering references to unlinked directory
inodes.

CC: Jan Kara <jack@suse.cz>
CC: linux-ext4@vger.kernel.org
Signed-off-by: Sage Weil <sage@newdream.net>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/ext2/namei.c