]> git.baikalelectronics.ru Git - kernel.git/commit
nfsd: open-code special directory-hardlink check
authorJ. Bruce Fields <bfields@redhat.com>
Mon, 15 Aug 2011 20:59:55 +0000 (16:59 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Fri, 26 Aug 2011 22:22:47 +0000 (18:22 -0400)
commit43c9dbd538e08938a38117cb62777275321f5891
tree660675f24b5dcb74630defb9a576d1cba6fb36a8
parenteea2210e84c8d8f6ab3cf6b4c57f002417172009
nfsd: open-code special directory-hardlink check

We allow the fh_verify caller to specify that any object *except* those
of a given type is allowed, by passing a negative type.  But only one
caller actually uses it.  Open-code that check in the one caller.

Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfsfh.c
fs/nfsd/vfs.c