summaryrefslogtreecommitdiff
path: root/staging/directmops.c
AgeCommit message (Expand)AuthorFilesLines
2013-05-13staging: add mausezahn staging directoryDaniel Borkmann1-0/+30
ommitterAl Viro <viro@zeniv.linux.org.uk>2011-05-26 07:26:46 -0400 commit48293699a09324d2e3c66bd53d10eed6d67937a0 (patch) tree5554ad59665d62ebc36ed16d5e13b0badea46a69 parentea13a86463fd0c26c2c209c53dc46b8eff81bad4 (diff)
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 <sage@newdream.net> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat