OSDN Git Service

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)
commita1e7f30a86062380ac804b50491fd24bb9dfb99f
tree4e02d7db52c90be46504e80fc009e626221d14da
parent43d20e80e2880a1791d87d8b3fc062e91cd2ec4b
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