]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
streams_depot: Goto done if FSETXATTR SAMBA_XATTR_MARKER failed
authorMikeLiu <mikeliu@qnap.com>
Wed, 27 Sep 2023 05:46:36 +0000 (13:46 +0800)
committerRalph Boehme <slow@samba.org>
Wed, 27 Sep 2023 08:42:25 +0000 (08:42 +0000)
Goto done if FSETXATTR SAMBA_XATTR_MARKER failed

Signed-off-by: MikeLiu <mikeliu@qnap.com>
Reviewed-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Wed Sep 27 08:42:25 UTC 2023 on atb-devel-224

source3/modules/vfs_streams_depot.c

index 38d8994bb943a0ee68859ec5b894643ae4a0e2a5..2a46d5b12b213144b773c5dd097988557211ae02 100644 (file)
@@ -725,7 +725,7 @@ static int streams_depot_openat(struct vfs_handle_struct *handle,
                        if (ret == -1) {
                                DBG_DEBUG("FSETXATTR failed: %s\n",
                                          strerror(errno));
-                               return -1;
+                               goto done;
                        }
                }
        }