summaryrefslogtreecommitdiffstats
path: root/source3/modules/onefs_acl.c
diff options
context:
space:
mode:
authorTim Prouty <tprouty@samba.org>2008-12-30 17:17:24 -0800
committerTim Prouty <tprouty@samba.org>2009-01-11 22:13:36 -0800
commit5c48ba6563ff025037b9337d34b9aa13de610fba (patch)
treee24789f5a1f0ed1fad8fe76b072148c23661be01 /source3/modules/onefs_acl.c
parentce5eded7e03d86d5d7f2ee1a9d975fae116d2306 (diff)
downloadsamba-5c48ba6563ff025037b9337d34b9aa13de610fba.tar.gz
samba-5c48ba6563ff025037b9337d34b9aa13de610fba.tar.xz
samba-5c48ba6563ff025037b9337d34b9aa13de610fba.zip
s3: General cleanup of the open path in the OneFS vfs module
Diffstat (limited to 'source3/modules/onefs_acl.c')
-rw-r--r--source3/modules/onefs_acl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/modules/onefs_acl.c b/source3/modules/onefs_acl.c
index 5351118a87d..9258e0cddc1 100644
--- a/source3/modules/onefs_acl.c
+++ b/source3/modules/onefs_acl.c
@@ -696,8 +696,8 @@ onefs_get_nt_acl(vfs_handle_struct *handle, const char* name,
*
* @return NTSTATUS_OK if successful
*/
-NTSTATUS onefs_setup_sd(uint32 security_info_sent, SEC_DESC *psd,
- struct ifs_security_descriptor *sd)
+NTSTATUS onefs_samba_sd_to_sd(uint32 security_info_sent, SEC_DESC *psd,
+ struct ifs_security_descriptor *sd)
{
struct ifs_security_acl dacl, sacl, *daclp, *saclp;
struct ifs_identity owner, group, *ownerp, *groupp;
@@ -789,7 +789,7 @@ onefs_fset_nt_acl(vfs_handle_struct *handle, files_struct *fsp,
DEBUG(5,("Setting SD on file %s.\n", fsp->fsp_name ));
- status = onefs_setup_sd(security_info_sent, psd, &sd);
+ status = onefs_samba_sd_to_sd(security_info_sent, psd, &sd);
if (!NT_STATUS_IS_OK(status)) {
DEBUG(3, ("SD initialization failure: %s", nt_errstr(status)));