]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
vfs_default: initialize conn->have_proc_fds
authorRalph Boehme <slow@samba.org>
Wed, 25 Nov 2020 06:05:20 +0000 (07:05 +0100)
committerRalph Boehme <slow@samba.org>
Wed, 16 Dec 2020 09:08:30 +0000 (09:08 +0000)
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/modules/vfs_default.c

index 20bc4c3c0f1201db3fe592dacffbb235ba7f988b..9b63158872cef53f2999c6f9a3090967e0dd52f0 100644 (file)
@@ -49,6 +49,7 @@
 
 static int vfswrap_connect(vfs_handle_struct *handle, const char *service, const char *user)
 {
+       handle->conn->have_proc_fds = sys_have_proc_fds();
        return 0;    /* Return >= 0 for success */
 }