Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[pyNFS] Return code of OPEN for special files
From the NFSv4 current draft (draft-ietf-nfsv4-rfc3530bis-17): If the component provided to OPEN resolves to something other than a regular file, an error will be returned to the client. If it is a directory, NFS4ERR_ISDIR is returned; otherwise, NFS4ERR_SYMLINK is returned. Note that NFS4ERR_SYMLINK is returned for both symlinks and for special files of other types; NFS4ERR_INVAL would be inappropriate, since the arguments provided by the client were correct, and the client cannot necessarily know at the time it sent the OPEN that the component would resolve to a non-regular file. Thus, this patch fixes 4 pyNFS tests that are failing. Signed-off-by: Leonardo Tonetto <tonetto@linux.vnet.ibm.com>
- Loading branch information