]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
vfs_ceph_snapshots: realign synthetic_smb_fname() args in ceph_snap_fill_label()
authorRalph Boehme <slow@samba.org>
Sun, 3 May 2020 06:32:53 +0000 (08:32 +0200)
committerJeremy Allison <jra@samba.org>
Tue, 5 May 2020 19:18:38 +0000 (19:18 +0000)
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/modules/vfs_ceph_snapshots.c

index 163772e59c4c1fb87580380488464b2bb15be5ba..c0c87a56be034f40d05d6db84cf74045ee9a6e02 100644 (file)
@@ -143,8 +143,11 @@ static int ceph_snap_fill_label(struct vfs_handle_struct *handle,
                return -EINVAL;
        }
 
-       smb_fname = synthetic_smb_fname(tmp_ctx, snap_path,
-                                       NULL, NULL, 0);
+       smb_fname = synthetic_smb_fname(tmp_ctx,
+                                       snap_path,
+                                       NULL,
+                                       NULL,
+                                       0);
        if (smb_fname == NULL) {
                return -ENOMEM;
        }