Sriram Patil has uploaded this change for review.

View Change

Fix PNFS flags in EXCHANGE_ID

NFSv4.1 RFC provides the list of combinations that are acceptable in case
of PNFS. However, all these restrictions are only applied to server, the
client is allowed to send any combination when requesting.
This change fixes the EXCHANGE_ID code to make sure that the server always
returns acceptable PNFS flags even if client has request invalid
combination.

Change-Id: Iba05fb9729beda8bc30c957f3a3f153a37c8554c
Signed-off-by: Sriram Patil <sriramp@vmware.com>
---
M src/Protocols/NFS/nfs4_op_exchange_id.c
1 file changed, 23 insertions(+), 5 deletions(-)

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

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

Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: Iba05fb9729beda8bc30c957f3a3f153a37c8554c
Gerrit-Change-Number: 498184
Gerrit-PatchSet: 1
Gerrit-Owner: Sriram Patil <sriramp@vmware.com>
Gerrit-MessageType: newchange