Code fix to smbd/service.c to include VFS feature - Samba2.2 branch

Brad Sahr bsahr at macromedia.com
Thu Oct 26 19:56:20 GMT 2000


Ran cvs update yesterday (10/25/00) and found that VFS was not being enabled
as the wrong #define for the VFS feature was being used within service.c.
Please let me know if anyone else should be cc:'d for VFS specific
bugs/issues.

Thank you,

Brad Sahr

--- service.orig.c	Thu Oct 26 12:10:49 2000
+++ service.c	Thu Oct 26 12:12:25 2000
@@ -478,7 +478,7 @@

 	/* Initialise VFS function pointers */

-#if USING_VFS
+#if WITH_VFS

 	if (*lp_vfsobj(SNUM(conn))) {

@@ -496,9 +496,9 @@
 #endif /* HAVE_LIBDL */

 	} else /* Normal share - initialise with disk access functions */
-#else /* USING_VFS */
+#else /* WITH_VFS */
 	    vfs_init_default(conn);
-#endif /* USING_VFS */
+#endif /* WITH_VFS */

 	/* execute any "root preexec = " line */
 	if (*lp_rootpreexec(SNUM(conn))) {





More information about the samba-technical mailing list