[PATCH] Fix failure to update dirpath with Gluster - bug https://bugzilla.samba.org/show_bug.cgi?id=135850
Jeremy Allison
jra at samba.org
Tue Aug 21 00:21:20 UTC 2018
Fixes bug https://bugzilla.samba.org/show_bug.cgi?id=13585,
as Gluster now needs a "." path passed in instead of a
pointer to '\0', which we were using before in the non-optimization
path return from check_parent_exists().
Makes the code clearer (expands one return path into two).
Based on code from Anoop C S <anoopcs at redhat.com> and
confirmed fixes the problem by Anoop.
Please review and push if happy !
Thanks,
Jeremy.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-s3-smbd-Ensure-check_parent_exists-returns-valid-pat.patch
Type: text/x-diff
Size: 2771 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20180820/7e217745/0001-s3-smbd-Ensure-check_parent_exists-returns-valid-pat.diff>
More information about the samba-technical
mailing list