]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
vfs_glusterfs: add missing END_PROFILE(syscall_openat) to vfs_gluster_openat()
authorStefan Metzmacher <metze@samba.org>
Fri, 5 Aug 2022 11:17:50 +0000 (11:17 +0000)
committerJeremy Allison <jra@samba.org>
Sat, 6 Aug 2022 01:43:50 +0000 (01:43 +0000)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/modules/vfs_glusterfs.c

index c06829a1799b00d821980ae657b2e73c62be0b87..23bcf83d31c659dd43db89b9f6c4b7968f85c756 100644 (file)
@@ -781,6 +781,7 @@ static int vfs_gluster_openat(struct vfs_handle_struct *handle,
                                                    dirfsp,
                                                    smb_fname);
                if (name == NULL) {
+                       END_PROFILE(syscall_openat);
                        return -1;
                }
                smb_fname = name;