>From <madhu.punj...@in.ibm.com>:
madhu.punj...@in.ibm.com has uploaded this change for review. (
https://review.gerrithub.io/381580
Change subject: Set attributes_follow=false if 'valid_mask==ATTR_RDATTR_ERR' in
readdirplus
......................................................................
Set attributes_follow=false if 'valid_mask==ATTR_RDATTR_ERR' in readdirplus
Currently in nfs3_readdirplus_callback() function nfs3_FSALattr_To_Fattr()
is called and if "attr->valid_mask == ATTR_RDATTR_ERR" is true then
nfs3_FSALattr_To_Fattr() logs a CRIT message as attributes are missing.
Fixed this by adding a check for "attr->valid_mask == ATTR_RDATTR_ERR" in
nfs3_readdirplus_callback(), and if this condition is true then
"attributes_follow = false" is set. Else we call nfs3_FSALattr_To_Fattr().
Change-Id: I4bb91bfa58df44ed613d00c5558432ce4f1e9248
Signed-off-by: Madhu Thorat <madhu.punj...@in.ibm.com>
---
M src/Protocols/NFS/nfs3_readdirplus.c
1 file changed, 10 insertions(+), 5 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha
refs/changes/80/381580/1
--
To view, visit https://review.gerrithub.io/381580
To unsubscribe, visit https://review.gerrithub.io/settings
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-MessageType: newchange
Gerrit-Change-Id: I4bb91bfa58df44ed613d00c5558432ce4f1e9248
Gerrit-Change-Number: 381580
Gerrit-PatchSet: 1
Gerrit-Owner: madhu.punj...@in.ibm.com
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Nfs-ganesha-devel mailing list
Nfs-ganesha-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel