From: Ralph Boehme Date: Wed, 25 Nov 2020 06:05:20 +0000 (+0100) Subject: vfs_default: initialize conn->have_proc_fds X-Git-Tag: samba-4.14.0rc1~398 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6d16e580905296a8ae9f2dcd499ed63a587485df;p=thirdparty%2Fsamba.git vfs_default: initialize conn->have_proc_fds Signed-off-by: Ralph Boehme Reviewed-by: Jeremy Allison --- diff --git a/source3/modules/vfs_default.c b/source3/modules/vfs_default.c index 20bc4c3c0f1..9b63158872c 100644 --- a/source3/modules/vfs_default.c +++ b/source3/modules/vfs_default.c @@ -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 */ }