nfsd: clean up fh_auth usage
authorChristoph Hellwig <hch@lst.de>
Wed, 7 May 2014 11:49:44 +0000 (13:49 +0200)
committerJ. Bruce Fields <bfields@redhat.com>
Thu, 8 May 2014 16:43:03 +0000 (12:43 -0400)
commit5409e46f1bcf960c651f3fff35f2f25e539655cf
tree2ed81c5a35f0adafcf63347b0407c8b6c2ea6156
parentecc7455d8eb1860f5aa6b9ad82a9a81f93eb11d1
nfsd: clean up fh_auth usage

Use fh_fsid when reffering to the fsid part of the filehandle.  The
variable length auth field envisioned in nfsfh wasn't ever implemented.
Also clean up some lose ends around this and document the file handle
format better.

Btw, why do we even export nfsfh.h to userspace?  The file handle very
much is kernel private, and nothing in nfs-utils include the header
either.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfsfh.c
include/uapi/linux/nfsd/nfsfh.h