]> git.karo-electronics.de Git - linux-beck.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)
commit8ac2b42238f549241a4755de40fd161fba3de438
treeb356af4962785529cba7a97c6e2a80f4c65a18c5
parentf07d4a31ccd7dbe3ca49bedc8298245d6877a43e
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