sepia-liu has uploaded this change for review.

View Change

FSAL_CEPH: register umask callback

Solve the problem of creating file permissions mismatch.
libcephfs(ceph nautilus version) will use the default umask_cb
function if Ganesha is not registered umask_cb, but Ganesha
registered handle is not struct ceph_mount_info, at the point,
calling the default umask_cb will cause unexpected umask and permissions.

Change-Id: I09d924dc664af4dcc423cbfbfb5b736d36a2ea40
Signed-off-by: sepia-liu <liuwei_coder@163.com>
---
M src/FSAL/FSAL_CEPH/main.c
1 file changed, 11 insertions(+), 1 deletion(-)

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

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

Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: I09d924dc664af4dcc423cbfbfb5b736d36a2ea40
Gerrit-Change-Number: 501178
Gerrit-PatchSet: 1
Gerrit-Owner: sepia-liu <liuwei_coder@163.com>
Gerrit-MessageType: newchange