]> git.itanic.dy.fi Git - linux-stable/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)
commit2a9d683b48c8a87e61a4215792d44c90bcbbb536
treed2d418adbbf2e408e5641f4723baae70d0422126
parent17814819ac9829a437e06fbb5c7056a1f4f893da
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: 20fa19027286 ("nfs: add export operations")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/super.c