Change in ...nfs-ganesha[next]: NFS: define a FATTR4_MAX_ATTR_INDEX value
Jeff Layton has uploaded this change for review. ( https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/511071 ) Change subject: NFS: define a FATTR4_MAX_ATTR_INDEX value ...................................................................... NFS: define a FATTR4_MAX_ATTR_INDEX value Currently a lot of the nfs_proto_tools.c code is set up to use FATTR4_XATTR_SUPPORT as the max defined attribute. That's going to be fragile if we get more new attributes in the future, and it just doesn't read right. Define a new FATTR4_MAX_ATTR_INDEX that is currently set to FATTR4_XATTR_SUPPORT, and use that in the appropriate places in the code. Change-Id: I56cc1a79b72f4409acc90543273323f7013c90ce Signed-off-by: Jeff Layton <jlayton@redhat.com> --- M src/Protocols/NFS/nfs_proto_tools.c M src/include/nfsv41.h 2 files changed, 12 insertions(+), 9 deletions(-) git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/71/511071/1 -- To view, visit https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/511071 To unsubscribe, or for help writing mail filters, visit https://review.gerrithub.io/settings Gerrit-Project: ffilz/nfs-ganesha Gerrit-Branch: next Gerrit-Change-Id: I56cc1a79b72f4409acc90543273323f7013c90ce Gerrit-Change-Number: 511071 Gerrit-PatchSet: 1 Gerrit-Owner: Jeff Layton <jlayton@redhat.com> Gerrit-MessageType: newchange
participants (1)
-
Jeff Layton (GerritHub)