svn commit: samba r2252 - in branches/SAMBA_4_0/source/ntvfs/posix:
.
tridge at samba.org
tridge at samba.org
Wed Sep 8 11:01:18 GMT 2004
Author: tridge
Date: 2004-09-08 11:01:18 +0000 (Wed, 08 Sep 2004)
New Revision: 2252
WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/branches/SAMBA_4_0/source/ntvfs/posix&rev=2252&nolog=1
Log:
don't register the same name twice
Modified:
branches/SAMBA_4_0/source/ntvfs/posix/vfs_posix.c
Changeset:
Modified: branches/SAMBA_4_0/source/ntvfs/posix/vfs_posix.c
===================================================================
--- branches/SAMBA_4_0/source/ntvfs/posix/vfs_posix.c 2004-09-08 07:59:52 UTC (rev 2251)
+++ branches/SAMBA_4_0/source/ntvfs/posix/vfs_posix.c 2004-09-08 11:01:18 UTC (rev 2252)
@@ -284,7 +284,6 @@
ZERO_STRUCT(ops);
- ops.name = "default";
ops.type = NTVFS_DISK;
/* fill in all the operations */
@@ -319,9 +318,10 @@
/* register ourselves with the NTVFS subsystem. We register
under the name 'default' as we wish to be the default
backend, and also register as 'posix' */
- ops.name = "posix";
+ ops.name = "default";
ret = register_backend("ntvfs", &ops);
+ ops.name = "posix";
ret = register_backend("ntvfs", &ops);
if (!NT_STATUS_IS_OK(ret)) {
More information about the samba-cvs
mailing list