NFS: Retry the CLOSE if the embedded GETATTR is rejected with EACCES
authorTrond Myklebust <trond.myklebust@primarydata.com>
Mon, 19 Dec 2016 15:34:14 +0000 (10:34 -0500)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Mon, 19 Dec 2016 22:30:01 +0000 (17:30 -0500)
commitf07d4a31ccd7dbe3ca49bedc8298245d6877a43e
tree84875f6cb4fb85ff11a51f9e92af9504f1ac6819
parentd8d849835eb2082ea17655538a83fa467633927f
NFS: Retry the CLOSE if the embedded GETATTR is rejected with EACCES

If our CLOSE 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