nfsd: move most of fh_verify to separate function
authorJ. Bruce Fields <bfields@citi.umich.edu>
Fri, 14 Mar 2008 21:51:12 +0000 (17:51 -0400)
committerJ. Bruce Fields <bfields@citi.umich.edu>
Wed, 23 Apr 2008 20:13:41 +0000 (16:13 -0400)
commit03550fac06c4f0c39a1885d46015c28794413c82
tree090c03e257149a034263b81a95742ce1fdcaebc6
parentc3bb257d2d3a1a4e49372b9d74eaebe0fcf110dd
nfsd: move most of fh_verify to separate function

Move the code that actually parses the filehandle and looks up the
dentry and export to a separate function.  This simplifies the reference
counting a little and moves fh_verify() a little closer to the kernel
ideal of small, minimally-indentended functions.  Clean up a few other
minor style sins along the way.

Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Cc: Neil Brown <neilb@suse.de>
fs/nfsd/nfsfh.c