]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit428b1227d8c4ca44e8b5ea5891dabb718198aea8
tree2ed81c5a35f0adafcf63347b0407c8b6c2ea6156
parentf4c5fe1949d44bda59de725307f8b4b15f2fbd64
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