commit | c5eade6bee894338a7fb22509cfedf6ad183f08e | [log] [tgz] |
---|---|---|
author | Patrice LUCAS <patrice.lucas@cea.fr> | Tue Sep 06 16:04:51 2016 |
committer | Frank S. Filz <ffilzlnx@mindspring.com> | Tue Sep 20 18:15:37 2016 |
tree | ed9be0d0eb7a8d9bfe2be2f5269be8f321a3a88d | |
parent | 3bede6949e80f9300d29547de1cabc42326d84d9 [diff] |
Fix file handle bytes switching in xdr_nfs_fh4 XDR_ENCODE FSAL_PROXY tests reveals a "Stale file handle" error at first ls on root directory. This was due to call to htons in the encode way that was switching bytes and corrupting the file handle in FSAL_PROXY. To fix this issue, we simply choose to let export id in network byte order in the handle and only revert it when we extract it. This commit fix NFSv3 and NFSv4 protocols. Change-Id: Ia682d0ce83d19ee873c1c7a993e6c86499c48bd7 Signed-off-by: Patrice LUCAS <patrice.lucas@cea.fr>
NFS-Ganesha is an NFSv3,v4,v4.1 fileserver that runs in user mode on most UNIX/Linux systems. It also supports the 9p.2000L protocol.
For more information, consult the project wiki.