]> git.baikalelectronics.ru Git - kernel.git/commit
NFSv4: Turn off open-by-filehandle and NFS re-export for NFSv4.0
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Thu, 25 Aug 2022 18:49:05 +0000 (14:49 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Thu, 1 Sep 2022 14:40:37 +0000 (10:40 -0400)
commita2f73fe8d989e765490ee296281311677fb64447
treed2d418adbbf2e408e5641f4723baae70d0422126
parent6df7af93fa2f845369b56ed1bb3889f95a74ba3f
NFSv4: Turn off open-by-filehandle and NFS re-export for NFSv4.0

The NFSv4.0 protocol only supports open() by name. It cannot therefore
be used with open_by_handle() and friends, nor can it be re-exported by
knfsd.

Reported-by: Chuck Lever III <chuck.lever@oracle.com>
Fixes: a478c2295fe2 ("nfs: add export operations")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/super.c