>From Patrice LUCAS <patrice.lu...@cea.fr>: Patrice LUCAS has uploaded a new change for review.
https://review.gerrithub.io/290557 Change subject: Fix file handle bytes switching in xdr_nfs_fh4 XDR_ENCODE ...................................................................... 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. Only for XDR_ENCODE case in xdr_nfs_fh4 function, this patch adds the use of a buffer to copy and safely switch bytes of nfs_fh4_val without changing original FSAL_PROXY handle value. Change-Id: Ia682d0ce83d19ee873c1c7a993e6c86499c48bd7 Signed-off-by: Patrice LUCAS <patrice.lu...@cea.fr> --- M src/include/nfsv41.h 1 file changed, 28 insertions(+), 14 deletions(-) git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/57/290557/1 -- To view, visit https://review.gerrithub.io/290557 To unsubscribe, visit https://review.gerrithub.io/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ia682d0ce83d19ee873c1c7a993e6c86499c48bd7 Gerrit-PatchSet: 1 Gerrit-Project: ffilz/nfs-ganesha Gerrit-Branch: next Gerrit-Owner: Patrice LUCAS <patrice.lu...@cea.fr> ------------------------------------------------------------------------------ _______________________________________________ Nfs-ganesha-devel mailing list Nfs-ganesha-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel