git.samba.org
/
abartlet
/
samba.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c703304
)
Fix the build of vfs_zfsacl.c
author
Volker Lendecke
<vl@samba.org>
Fri, 18 Jul 2008 08:01:39 +0000
(10:01 +0200)
committer
Volker Lendecke
<vl@samba.org>
Fri, 18 Jul 2008 15:53:58 +0000
(17:53 +0200)
(cherry picked from commit
b83beeda44e1c8d485c2ad6bb8ee539cdcbe8bda
)
(This used to be commit
b46ce28039e8829f5188574ebe84ff3b7d9e65bc
)
source3/modules/vfs_zfsacl.c
patch
|
blob
|
history
diff --git
a/source3/modules/vfs_zfsacl.c
b/source3/modules/vfs_zfsacl.c
index e8a0507aa4e5584590e0342752f1011b13602f05..e933e473172da7c727e09907bd5c26cbc74e31be 100644
(file)
--- a/
source3/modules/vfs_zfsacl.c
+++ b/
source3/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);