ncpfs: document dentry_unhash usage
authorSage Weil <sage@newdream.net>
Fri, 27 May 2011 20:42:09 +0000 (13:42 -0700)
committerAl Viro <viro@zeniv.linux.org.uk>
Sat, 28 May 2011 05:02:53 +0000 (01:02 -0400)
commit7ce605d93b775e8a960b0be244f7be565e73b3c1
treeeb37f0f8f83940e7328fc9b7762de3bd04eb358c
parent55e5b7e022eaaa805a44e3b6ecd5c8638d862050
ncpfs: document dentry_unhash usage

ncpfs returns EBUSY if there are any references to the directory.  The
dentry_unhash call only unhashes the dentry if there are no references.

CC: Petr Vandrovec <petr@vandrovec.name>
CC: linux-kernel@vger.kernel.org
Signed-off-by: Sage Weil <sage@newdream.net>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/ncpfs/dir.c