From b46ce28039e8829f5188574ebe84ff3b7d9e65bc Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Fri, 18 Jul 2008 10:01:39 +0200 Subject: [PATCH] Fix the build of vfs_zfsacl.c (cherry picked from commit b83beeda44e1c8d485c2ad6bb8ee539cdcbe8bda) --- source/modules/vfs_zfsacl.c | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/source/modules/vfs_zfsacl.c b/source/modules/vfs_zfsacl.c index e8a0507aa4e..e933e473172 100644 --- a/source/modules/vfs_zfsacl.c +++ b/source/modules/vfs_zfsacl.c @@ -224,23 +224,8 @@ static vfs_op_tuple zfsacl_ops[] = { {SMB_VFS_OP(NULL), SMB_VFS_OP_NOOP, SMB_VFS_LAYER_NOOP} }; -/* != 0 if this module will be compiled as static */ - -#define STATIC 0 - -#if STATIC NTSTATUS vfs_zfsacl_init(void); -#else -NTSTATUS init_module(void); -#endif - -NTSTATUS -#if STATIC - vfs_zfsacl_init -#else - init_module -#endif - (void) +NTSTATUS vfs_zfsacl_init(void) { return smb_register_vfs(SMB_VFS_INTERFACE_VERSION, "zfsacl", zfsacl_ops); -- 2.11.4.GIT