Sriram Patil has uploaded this change for review. (
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/448844
Change subject: Fix the mounted_on_fileid attribute for referral directories
......................................................................
Fix the mounted_on_fileid attribute for referral directories
When returning attributes for the referral directories, mounted_on_fileid
attribute was set incorrectly in getattr. It was always set to zero.
Because of this all the referrals were treated as the same directory by the
NFS client. So, whichever referral is mounted first, all other referrals
will also point to the same export even though the fs locations were set
correctly.
Change-Id: I259ae04e8ea542682abd19fa37a1e70edef9856d
Signed-off-by: Sriram Patil <sriramp(a)vmware.com>
---
M src/Protocols/NFS/nfs4_op_getattr.c
M src/Protocols/NFS/nfs_proto_tools.c
M src/include/nfs_proto_tools.h
3 files changed, 24 insertions(+), 42 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/44/448844/1
--
To view, visit
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/448844
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: I259ae04e8ea542682abd19fa37a1e70edef9856d
Gerrit-Change-Number: 448844
Gerrit-PatchSet: 1
Gerrit-Owner: Sriram Patil <sriramp(a)vmware.com>
Gerrit-MessageType: newchange