summaryrefslogtreecommitdiffstats
path: root/source3/smbd/vfs.c
diff options
context:
space:
mode:
authorAlexander Bokovoy <ab@samba.org>2003-05-12 16:03:16 +0000
committerAlexander Bokovoy <ab@samba.org>2003-05-12 16:03:16 +0000
commitc9bfb7660bf60d32c51bfe368ce874770adb6f10 (patch)
tree8236542fe05d4ce2e9ba4f615daab2ed7bdf4f2b /source3/smbd/vfs.c
parented1c7282e45b9b962bc2e77a544719bbc506f294 (diff)
downloadsamba-c9bfb7660bf60d32c51bfe368ce874770adb6f10.tar.gz
samba-c9bfb7660bf60d32c51bfe368ce874770adb6f10.tar.xz
samba-c9bfb7660bf60d32c51bfe368ce874770adb6f10.zip
Eliminate NULL pointers from VFS interface. All hooks now really callable, producing either correct result or returning error if the feature isn't supported in the configuration
(This used to be commit af0a17349e6986eef2e2fd07b4b9f0bcd33bbe1f)
Diffstat (limited to 'source3/smbd/vfs.c')
-rw-r--r--source3/smbd/vfs.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/source3/smbd/vfs.c b/source3/smbd/vfs.c
index 92342a673bd..9f37622c8c1 100644
--- a/source3/smbd/vfs.c
+++ b/source3/smbd/vfs.c
@@ -100,13 +100,9 @@ static struct vfs_ops default_vfs = {
vfswrap_set_nt_acl,
/* POSIX ACL operations. */
-#if defined(HAVE_NO_ACLS)
- NULL,
- NULL,
-#else
vfswrap_chmod_acl,
vfswrap_fchmod_acl,
-#endif
+
vfswrap_sys_acl_get_entry,
vfswrap_sys_acl_get_tag_type,
vfswrap_sys_acl_get_permset,