Add SMB_VFS_CREATE_FILE to the vfs layer
[tprouty/samba.git] / source3 / rpc_server / srv_srvsvc_nt.c
index 274deab88b1102677917809cf7a706d935f7609f..50ad7fc6f87a204e31acc0942a7dd79b178ad0b5 100644 (file)
@@ -2059,7 +2059,7 @@ WERROR _srvsvc_NetGetFileSecurity(pipes_struct *p,
                goto error_exit;
        }
 
-       nt_status = create_file(
+       nt_status = SMB_VFS_CREATE_FILE(
                conn,                                   /* conn */
                NULL,                                   /* req */
                0,                                      /* root_dir_fid */
@@ -2173,7 +2173,7 @@ WERROR _srvsvc_NetSetFileSecurity(pipes_struct *p,
                goto error_exit;
        }
 
-       nt_status = create_file(
+       nt_status = SMB_VFS_CREATE_FILE(
                conn,                                   /* conn */
                NULL,                                   /* req */
                0,                                      /* root_dir_fid */