]> git.baikalelectronics.ru Git - kernel.git/commit
NFSv4: Retry the DELEGRETURN if the embedded GETATTR is rejected with EACCES
authorTrond Myklebust <trond.myklebust@primarydata.com>
Mon, 19 Dec 2016 15:23:10 +0000 (10:23 -0500)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Mon, 19 Dec 2016 22:30:03 +0000 (17:30 -0500)
commitf4a5194ed37729b370e661ffee5f6a50b8707007
treeb356af4962785529cba7a97c6e2a80f4c65a18c5
parentace5276a68f2857bd2bdbcb4a66c498e1067fb9b
NFSv4: Retry the DELEGRETURN if the embedded GETATTR is rejected with EACCES

If our DELEGRETURN RPC call is rejected with an EACCES call, then we should
remove the GETATTR call from the compound RPC and retry.
This could potentially happen when there is a conflict between an
ACL denying attribute reads and our use of SP4_MACH_CRED.

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