From 1f36ec129300e4f69efe26d4950fe3a7cfbfb233 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Wed, 10 Oct 2012 16:44:41 +1100 Subject: vfs: Remove type parameter from sys_acl_blob_get_{fd,file} This interface actually needs to match the get_nt_acl interface in that the system ACL implmenetation may not be posix ACLs, and the blob is not meant to be enforced to be of a particular system ACL structure. Andrew Bartlett --- examples/VFS/skel_transparent.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples/VFS/skel_transparent.c') diff --git a/examples/VFS/skel_transparent.c b/examples/VFS/skel_transparent.c index f8a743e06e..0c84e19fcd 100644 --- a/examples/VFS/skel_transparent.c +++ b/examples/VFS/skel_transparent.c @@ -708,12 +708,12 @@ static SMB_ACL_T skel_sys_acl_get_fd(vfs_handle_struct *handle, return SMB_VFS_NEXT_SYS_ACL_GET_FD(handle, fsp, mem_ctx); } -static int skel_sys_acl_blob_get_file(vfs_handle_struct *handle, const char *path_p, SMB_ACL_TYPE_T type, +static int skel_sys_acl_blob_get_file(vfs_handle_struct *handle, const char *path_p, TALLOC_CTX *mem_ctx, char **blob_description, DATA_BLOB *blob) { - return SMB_VFS_NEXT_SYS_ACL_BLOB_GET_FILE(handle, path_p, type, mem_ctx, blob_description, blob); + return SMB_VFS_NEXT_SYS_ACL_BLOB_GET_FILE(handle, path_p, mem_ctx, blob_description, blob); } static int skel_sys_acl_blob_get_fd(vfs_handle_struct *handle, files_struct *fsp, -- cgit