Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
nfs4: return EACCESS when stage is not allowed
Motivation: newer kernels ignores EPERM on READ and tries the request as in case of a transient error, thus nfs client hangs forever when staging is not allowed. Modification: Return EACCESS (which is spec defined error on READ) to propagate stage protection decision to the calling app. Result: NFS client propagates stage restriction to calling application. Acked-by: Lea Morschel Target: master, 8.2 Require-book: no Require-notes: yes (cherry picked from commit ff557a0) Signed-off-by: Tigran Mkrtchyan <[email protected]>
- Loading branch information