Jeff Layton has uploaded this change for review.

View Change

NFS: return NFS4ERR_ATTRNOTSUPP when client attemps to set unknown attribute

RFC5661 says this in the SETATTR section:

"If the server does not support an attribute as requested by the client,
the server SHOULD return NFS4ERR_ATTRNOTSUPP."

Fix the error return here.

Change-Id: Ie6db9936409c2792b053c6a859c8eee04850189f
Signed-off-by: Jeff Layton <jlayton@redhat.com>
---
M src/Protocols/NFS/nfs_proto_tools.c
1 file changed, 18 insertions(+), 1 deletion(-)

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

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

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