VFS: vxfs: ifdef out vxfs_sys_acl_set_fd
commit748189b29c58cebe70e16ee82a7dfd2ace1955b9
authorNoel Power <noel.power@suse.com>
Thu, 10 Jun 2021 13:52:04 +0000 (10 14:52 +0100)
committerNoel Power <npower@samba.org>
Fri, 11 Jun 2021 09:30:53 +0000 (11 09:30 +0000)
treefdcf1d310849958cbd7c816ad8135cf8cbc14ab4
parent0f5c6c0aa01245276d8d399269576f5296e00f36
VFS: vxfs: ifdef out vxfs_sys_acl_set_fd

as the sys_acl_set_fd_fn definition for vxfs_sys_acl_set_fd is ifdef'ed
out we also need ifdef out the vxfs_sys_acl_set_fd implementation itself
otherwise we get the following error.

source3/modules/vfs_vxfs.c:484:12: error: ‘vxfs_sys_acl_set_fd’ defined but not used [-Werror=unused-function]
 static int vxfs_sys_acl_set_fd(vfs_handle_struct *handle,

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/modules/vfs_vxfs.c