From c9bfb7660bf60d32c51bfe368ce874770adb6f10 Mon Sep 17 00:00:00 2001 From: Alexander Bokovoy Date: Mon, 12 May 2003 16:03:16 +0000 Subject: 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) --- source3/smbd/vfs.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'source3/smbd/vfs.c') diff --git a/source3/smbd/vfs.c b/source3/smbd/vfs.c index 92342a673b..9f37622c8c 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, -- cgit