Commit e35a5e7
NFSv4.1: RECLAIM_COMPLETE must handle EACCES
A client should be able to handle getting an EACCES error while doing
a mount operation to reclaim state due to NFS4CLNT_RECLAIM_REBOOT
being set. If the server returns RPC_AUTH_BADCRED because authentication
failed when we execute "exportfs -au", then RECLAIM_COMPLETE will go a
wrong way. After mount succeeds, all OPEN call will fail due to an
NFS4ERR_GRACE error being returned. This patch is to fix it by resending
a RPC request.
Signed-off-by: Zhang Xianwei <[email protected]>
Signed-off-by: Yi Wang <[email protected]>
Fixes: aa5190d ("NFSv4: Kill nfs4_async_handle_error() abuses by NFSv4.1")
Signed-off-by: Trond Myklebust <[email protected]>1 parent f201bdf commit e35a5e7
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9487 | 9487 | | |
9488 | 9488 | | |
9489 | 9489 | | |
| 9490 | + | |
| 9491 | + | |
| 9492 | + | |
9490 | 9493 | | |
9491 | 9494 | | |
9492 | 9495 | | |
| |||
0 commit comments