Jeff Layton has uploaded this change for review. (
https://review.gerrithub.io/437354
Change subject: CEPH: do a getattr after creating a dir and applying extra attributes
......................................................................
CEPH: do a getattr after creating a dir and applying extra attributes
Currently, we don't populate the attrs_out struct if we create a
directory and then need to do a follow-on setattr2 to apply extra attrs
to it.
Unfortunately, setattr2 (and the lower-level ceph setattrx call) doesn't
return attributes, so just issue a getattrs just after a successful
setattr2.
Reported-and-Tested-by: github user uyghfjhh
Change-Id: Ifb5786204337bed5cfb620eb16145ebf271fcc36
Signed-off-by: Jeff Layton <jlayton(a)redhat.com>
---
M src/FSAL/FSAL_CEPH/handle.c
1 file changed, 8 insertions(+), 0 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/54/437354/1
--
To view, visit
https://review.gerrithub.io/437354
To unsubscribe, or for help writing mail filters, visit
https://review.gerrithub.io/settings
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ifb5786204337bed5cfb620eb16145ebf271fcc36
Gerrit-Change-Number: 437354
Gerrit-PatchSet: 1
Gerrit-Owner: Jeff Layton <jlayton(a)redhat.com>