summaryrefslogtreecommitdiff
path: root/source3/modules/onefs_acl.c
diff options
context:
space:
mode:
authorTim Prouty <tprouty@samba.org>2009-07-24 17:09:42 -0700
committerTim Prouty <tprouty@samba.org>2009-07-24 18:46:07 -0700
commit247a77a422192d7f270952334f06a512fcd339aa (patch)
tree375fd210a616e65b389ac39fb49df2bc54a278b4 /source3/modules/onefs_acl.c
parentff547a23ae464475fa9a6f0c9b8a5d1d721dde64 (diff)
downloadsamba-247a77a422192d7f270952334f06a512fcd339aa.tar.gz
samba-247a77a422192d7f270952334f06a512fcd339aa.tar.bz2
samba-247a77a422192d7f270952334f06a512fcd339aa.zip
s3 onefs: Fix the onefs modules after the big refactoring
Diffstat (limited to 'source3/modules/onefs_acl.c')
-rw-r--r--source3/modules/onefs_acl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/modules/onefs_acl.c b/source3/modules/onefs_acl.c
index 2753a9e885..df4efd58df 100644
--- a/source3/modules/onefs_acl.c
+++ b/source3/modules/onefs_acl.c
@@ -819,7 +819,7 @@ onefs_get_nt_acl(vfs_handle_struct *handle, const char* name,
*
* @return NTSTATUS_OK if successful
*/
-NTSTATUS onefs_samba_sd_to_sd(uint32_t security_info_sent, SEC_DESC *psd,
+NTSTATUS onefs_samba_sd_to_sd(uint32_t security_info_sent, const SEC_DESC *psd,
struct ifs_security_descriptor *sd, int snum,
uint32_t *security_info_effective)
{
@@ -905,7 +905,7 @@ NTSTATUS onefs_samba_sd_to_sd(uint32_t security_info_sent, SEC_DESC *psd,
*/
NTSTATUS
onefs_fset_nt_acl(vfs_handle_struct *handle, files_struct *fsp,
- uint32_t sec_info_sent, SEC_DESC *psd)
+ uint32_t sec_info_sent, const SEC_DESC *psd)
{
struct ifs_security_descriptor sd = {};
int fd = -1;