]> 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)
commit21a55edbe52ac05d3944400c1245d40049596374
treed2d418adbbf2e408e5641f4723baae70d0422126
parentd9709518f30b3b0a005d75ab9f70fad5632595f2
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: 2c7debae02c8 ("nfs: add export operations")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/super.c