Jeff Layton has uploaded this change for review.

View Change

NFS: fix handling of unrecognized attrs in GETATTR/VERIFY/NVERIFY

In the case of VERIFY/NVERIFY we want to return NFS4ERR_ATTRNOTSUPP,
since that's what the spec recommends. For a GETATTR request however,
just ignore the error and return whatever values we can in the reply.

Change-Id: I2bc6f635c939d220f8fc8268444816442e1bd217
Signed-off-by: Jeff Layton <jlayton@redhat.com>
---
M src/Protocols/NFS/nfs_proto_tools.c
M src/Protocols/NFS/nfs4_op_getattr.c
2 files changed, 20 insertions(+), 6 deletions(-)

git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/52/537152/1

To view, visit change 537152. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: I2bc6f635c939d220f8fc8268444816442e1bd217
Gerrit-Change-Number: 537152
Gerrit-PatchSet: 1
Gerrit-Owner: Jeff Layton <jlayton@redhat.com>
Gerrit-MessageType: newchange