From: Sage Weil Date: Tue, 24 May 2011 20:06:04 +0000 (-0700) Subject: vfs: dentry_unhash immediately prior to rmdir X-Git-Tag: v3.0-rc1~141^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=48293699a09324d2e3c66bd53d10eed6d67937a0;p=pandora-kernel.git vfs: dentry_unhash immediately prior to rmdir This presumes that there is no reason to unhash a dentry if we fail because it is a mountpoint or the LSM check fails, and that the LSM checks do not depend on the dentry being unhashed. Signed-off-by: Sage Weil Signed-off-by: Al Viro --- Reading git-diff-tree failed