From Jeff Layton <jlayton@redhat.com>: Jeff Layton has uploaded this change for review. ( https://review.gerrithub.io/421925 Change subject: FSAL: track server as utf8string in fsal_fs_locations_t ...................................................................... FSAL: track server as utf8string in fsal_fs_locations_t We end up discarding the NULL termination later, so we might as well track it as a separate length and pointer. This allows us to cut out some unnecessary string walking and copies in the encoding routine as well. Change-Id: I2bb1b1276faf6a61d519e70c361dc5deea36d7dd Signed-off-by: Jeff Layton <jlayton@redhat.com> --- M src/FSAL/FSAL_VFS/handle.c M src/Protocols/NFS/nfs_proto_tools.c M src/include/fsal_types.h M src/support/nfs4_fs_locations.c 4 files changed, 16 insertions(+), 12 deletions(-) git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/25/421925/1 -- To view, visit https://review.gerrithub.io/421925 To unsubscribe, or for help writing mail filters, visit https://review.gerrithub.io/settings Gerrit-Project: ffilz/nfs-ganesha Gerrit-Branch: next Gerrit-MessageType: newchange Gerrit-Change-Id: I2bb1b1276faf6a61d519e70c361dc5deea36d7dd Gerrit-Change-Number: 421925 Gerrit-PatchSet: 1 Gerrit-Owner: Jeff Layton <jlayton@redhat.com>