summaryrefslogtreecommitdiff
path: root/source3/modules/vfs_zfsacl.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2008-10-07 17:50:01 -0700
committerJeremy Allison <jra@samba.org>2008-10-07 17:50:01 -0700
commitec5d09dbff94d909f5ef65fb30165672947455b8 (patch)
tree59a4a26b6656ba1ec867f634eecac094908a07bb /source3/modules/vfs_zfsacl.c
parent2024d87cf5ffa0633225ed189fa48f0f56151e7e (diff)
downloadsamba-ec5d09dbff94d909f5ef65fb30165672947455b8.tar.gz
samba-ec5d09dbff94d909f5ef65fb30165672947455b8.tar.bz2
samba-ec5d09dbff94d909f5ef65fb30165672947455b8.zip
Update vfs version as I've added a const to the security_descriptor paramter in fset_nt_acl().
Need to watch the build farm to make sure I haven't broken the AIX or Solaris ACL modules. Jeremy.
Diffstat (limited to 'source3/modules/vfs_zfsacl.c')
-rw-r--r--source3/modules/vfs_zfsacl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/modules/vfs_zfsacl.c b/source3/modules/vfs_zfsacl.c
index e933e47317..3688b2386e 100644
--- a/source3/modules/vfs_zfsacl.c
+++ b/source3/modules/vfs_zfsacl.c
@@ -166,7 +166,7 @@ static bool zfs_process_smbacl(files_struct *fsp, SMB4ACL_T *smbacl)
*/
static NTSTATUS zfs_set_nt_acl(vfs_handle_struct *handle, files_struct *fsp,
uint32 security_info_sent,
- struct security_descriptor *psd)
+ const struct security_descriptor *psd)
{
return smb_set_nt_acl_nfs4(fsp, security_info_sent, psd,
zfs_process_smbacl);
@@ -207,7 +207,7 @@ static NTSTATUS zfsacl_get_nt_acl(struct vfs_handle_struct *handle,
static NTSTATUS zfsacl_fset_nt_acl(vfs_handle_struct *handle,
files_struct *fsp,
uint32 security_info_sent,
- SEC_DESC *psd)
+ const SEC_DESC *psd)
{
return zfs_set_nt_acl(handle, fsp, security_info_sent, psd);
}