For file paths relative to root, ceph_snap_get_parent_path() may return an empty parent dir string, in which case the CephFS snashot path should be ".snap".
Created attachment 15682 [details] fix, currently undergoing testing
(In reply to David Disseldorp from comment #2) > Created attachment 15682 [details] > fix, currently undergoing testing submitted via: https://gitlab.com/samba-team/samba/merge_requests/1004
Created attachment 15719 [details] upstream fix, backported for v4-11-test
Re-assigning to Karolin for inclusion in 4.11.next. David, do you want this for 4.10.next also ?
(In reply to Jeremy Allison from comment #5) > Re-assigning to Karolin for inclusion in 4.11.next. Thanks a lot for your review Jeremy :-) > David, do you want this for 4.10.next also ? It's not needed - vfs_ceph_snapshots is only carried in the v4-11+ branches.
(In reply to Jeremy Allison from comment #5) Pushed to autobuild-v4-11-test.
(In reply to Karolin Seeger from comment #7) Pushed to v4-11-test. Closing out bug report. Thanks!