]> git.baikalelectronics.ru Git - kernel.git/commit
NFSv4: Retrieve ACCESS on open if we're not using NFS4_CREATE_EXCLUSIVE
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Wed, 14 Jul 2021 17:00:58 +0000 (13:00 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Mon, 4 Oct 2021 00:49:06 +0000 (20:49 -0400)
commit5959e8c98e84cf75a0ed4668ea6edc397f40aa38
tree4e02d7db52c90be46504e80fc009e626221d14da
parentfc899d78ee312d3932fcdb1e8183c64dc6e3ce6a
NFSv4: Retrieve ACCESS on open if we're not using NFS4_CREATE_EXCLUSIVE

NFS4_CREATE_EXCLUSIVE does not allow the caller to set an access mode,
so for most Linux filesystems, the access call ends up returning no
permissions. However both NFS4_CREATE_EXCLUSIVE4_1 and
NFS4_CREATE_GUARDED allow the client to set the access mode.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/nfs4proc.c