r15186: Introduce ISDOT and ISDOTDOT macros for testing whether a filename is
[metze/samba-autobuild/.git] / source4 / ntvfs / posix / vfs_posix.c
index 2d40ceb85df1edc82c04dfe77fd9cabf56e8690c..eddc49c919141f96b8a947275eaae68f8d877689 100644 (file)
@@ -286,7 +286,6 @@ NTSTATUS ntvfs_posix_init(void)
 {
        NTSTATUS ret;
        struct ntvfs_ops ops;
-       NTVFS_CURRENT_CRITICAL_SIZES(vers);
 
        ZERO_STRUCT(ops);
 
@@ -329,14 +328,14 @@ NTSTATUS ntvfs_posix_init(void)
           under the name 'default' as we wish to be the default
           backend, and also register as 'posix' */
        ops.name = "default";
-       ret = ntvfs_register(&ops, &vers);
+       ret = ntvfs_register(&ops);
 
        if (!NT_STATUS_IS_OK(ret)) {
                DEBUG(0,("Failed to register POSIX backend as '%s'!\n", ops.name));
        }
 
        ops.name = "posix";
-       ret = ntvfs_register(&ops, &vers);
+       ret = ntvfs_register(&ops);
 
        if (!NT_STATUS_IS_OK(ret)) {
                DEBUG(0,("Failed to register POSIX backend as '%s'!\n", ops.name));