Sriram Patil has uploaded this change for review.
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@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 change 448844. To unsubscribe, or for help writing mail filters, visit settings.