[XS] Change in ...nfs-ganesha[next]: idmapper: should not set idmapping_enabled to true by default
vicente has uploaded this change for review. ( https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1214048?usp=email ) Change subject: idmapper: should not set idmapping_enabled to true by default ...................................................................... idmapper: should not set idmapping_enabled to true by default We remove the one calling path for idmapper_set_owner_domain() on commit 69da0b4. But in some cases, we would not be able to call the idmapper_set_owner_domain(), which would cause the owner_domain not to be initialized. For example, the current idmapping_enabled default is true. We will pass the nfs_param.directory_services_param.idmapping_active as status_enabled. If the idmapping_active is also true, we will skip the first time init to calling idmapper_set_owner_domain(). To resolve this, we should set idmapping_enabled as false by default. That will ensure we can execute the idmapper_set_owner_domain() for initialization. Change-Id: I1a3d6e88a59d3943823892f72ee58265f9a9f156 Signed-off-by: Vicente Cheng <vicente.cheng@suse.com> --- M src/idmapper/idmapper.c 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/48/1214048/1 -- To view, visit https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1214048?usp=email To unsubscribe, or for help writing mail filters, visit https://review.gerrithub.io/settings?usp=email Gerrit-MessageType: newchange Gerrit-Project: ffilz/nfs-ganesha Gerrit-Branch: next Gerrit-Change-Id: I1a3d6e88a59d3943823892f72ee58265f9a9f156 Gerrit-Change-Number: 1214048 Gerrit-PatchSet: 1 Gerrit-Owner: vicente <freeze.bilsted@gmail.com>
participants (1)
-
vicente (GerritHub)