s3: OneFS bulk directory enumeration support
[ira/wip.git] / source3 / modules / vfs_default.c
index cb56690dbb8f2c9108d2d5dace3e91bb3e68d753..4b123ab03ed56b858a40935fd189dd8c7d484d43 100644 (file)
@@ -210,7 +210,6 @@ static void vfswrap_init_search_op(vfs_handle_struct *handle,
                                   SMB_STRUCT_DIR *dirp)
 {
        /* Default behavior is a NOOP */
-       return;
 }
 
 /* File operations */
@@ -1456,7 +1455,7 @@ static vfs_op_tuple vfs_default_ops[] = {
         SMB_VFS_LAYER_OPAQUE},
        {SMB_VFS_OP(vfswrap_closedir),  SMB_VFS_OP_CLOSEDIR,
         SMB_VFS_LAYER_OPAQUE},
-       {SMB_VFS_OP(vfswrap_init_search_op),    SMB_VFS_OP_INIT_SEARCH_OP,
+       {SMB_VFS_OP(vfswrap_init_search_op), SMB_VFS_OP_INIT_SEARCH_OP,
         SMB_VFS_LAYER_OPAQUE},
 
        /* File operations */