nfsd4: support putpubfh operation
authorJ. Bruce Fields <bfields@citi.umich.edu>
Mon, 9 Mar 2009 16:17:29 +0000 (12:17 -0400)
committerJ. Bruce Fields <bfields@citi.umich.edu>
Wed, 18 Mar 2009 21:38:40 +0000 (17:38 -0400)
commita1c8c4d1ff54c6c86930ee3c4c73c69eeb9ede61
tree682e078f8978bee53c69e68accd7cae3bb4867ef
parent31dec2538e45e9fff2007ea1f4c6bae9f78db724
nfsd4: support putpubfh operation

Currently putpubfh returns NFSERR_OPNOTSUPP, which isn't actually
allowed for v4.  The right error is probably NFSERR_NOTSUPP.

But let's just implement it; though rarely seen, it can be used by
Solaris (with a special mount option), is mandated by the rfc, and is
trivial for us to support.

Thanks to Yang Hongyang for pointing out the original problem, and to
Mike Eisler, Tom Talpey, Trond Myklebust, and Dave Noveck for further
argument....

Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
fs/nfsd/nfs4proc.c
fs/nfsd/nfs4xdr.c