david.hedberg@zavann.se has uploaded this change for review.

View Change

Always set the wcc attributes in NFSv3 setattr replies

A special case was added in 4a3af6df1b46075b80f33e43e3f19fd768e6c43a,
as the wcc was set using attribute information that could be
incomplete if only the file size was modified. In this case, the reply
would be marked as containing no wcc data at all.

The attribute information for the wcc is now fetched using getattr
calls to the FSAL layer and the check should no longer be needed.

Signed-off-by: David Hedberg <david.hedberg@zavann.se>
Change-Id: If8584d1b0ddb27ca200af9e85cf2ff11c2d28c2a
---
M src/Protocols/NFS/nfs3_setattr.c
1 file changed, 3 insertions(+), 8 deletions(-)

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

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

Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: If8584d1b0ddb27ca200af9e85cf2ff11c2d28c2a
Gerrit-Change-Number: 495849
Gerrit-PatchSet: 1
Gerrit-Owner: david.hedberg@zavann.se
Gerrit-MessageType: newchange