Adapt fset_nt_acl() and fget_nt_acl() in examples/VFS/ to vfs prototype change.
authorMichael Adam <obnox@samba.org>
Sun, 6 Jan 2008 23:21:12 +0000 (00:21 +0100)
committerMichael Adam <obnox@samba.org>
Mon, 7 Jan 2008 00:04:55 +0000 (01:04 +0100)
Michael
(This used to be commit d9d6775878f8b3425665c6a45a5ef9cb92932cf8)

examples/VFS/skel_opaque.c
examples/VFS/skel_transparent.c

index aeca932132f9fe797a727dfae5d532f06790b081..21b39c1d95a7b5909aca2945e3b8023cb1c996cb 100644 (file)
@@ -301,7 +301,7 @@ static struct file_id skel_file_id_create(vfs_handle_struct *handle,
 }
 
 static size_t skel_fget_nt_acl(vfs_handle_struct *handle, files_struct *fsp,
-       int fd, uint32 security_info, SEC_DESC **ppdesc)
+       uint32 security_info, SEC_DESC **ppdesc)
 {
        errno = ENOSYS;
        return 0;
@@ -314,8 +314,8 @@ static size_t skel_get_nt_acl(vfs_handle_struct *handle, files_struct *fsp,
        return 0;
 }
 
-static NTSTATUS skel_fset_nt_acl(vfs_handle_struct *handle, files_struct *fsp, int
-       fd, uint32 security_info_sent, SEC_DESC *psd)
+static NTSTATUS skel_fset_nt_acl(vfs_handle_struct *handle, files_struct *fsp,
+       uint32 security_info_sent, SEC_DESC *psd)
 {
        errno = ENOSYS;
        return NT_STATUS_NOT_IMPLEMENTED;
index c6d7d5c36e576cd213c2498aa8ba1995ad830953..76ef7e0f2b7a4d9b2b34d7527a36e21a1a32996f 100644 (file)
@@ -290,9 +290,9 @@ static struct file_id skel_file_id_create(vfs_handle_struct *handle,
 }
 
 static size_t skel_fget_nt_acl(vfs_handle_struct *handle, files_struct *fsp,
-       int fd, uint32 security_info, SEC_DESC **ppdesc)
+       uint32 security_info, SEC_DESC **ppdesc)
 {
-       return SMB_VFS_NEXT_FGET_NT_ACL(handle, fsp, fd, security_info, ppdesc);
+       return SMB_VFS_NEXT_FGET_NT_ACL(handle, fsp, security_info, ppdesc);
 }
 
 static size_t skel_get_nt_acl(vfs_handle_struct *handle, files_struct *fsp,
@@ -302,9 +302,9 @@ static size_t skel_get_nt_acl(vfs_handle_struct *handle, files_struct *fsp,
 }
 
 static NTSTATUS skel_fset_nt_acl(vfs_handle_struct *handle, files_struct *fsp,
-       int fd, uint32 security_info_sent, SEC_DESC *psd)
+       uint32 security_info_sent, SEC_DESC *psd)
 {
-       return SMB_VFS_NEXT_FSET_NT_ACL(handle, fsp, fd, security_info_sent, psd);
+       return SMB_VFS_NEXT_FSET_NT_ACL(handle, fsp, security_info_sent, psd);
 }
 
 static NTSTATUS skel_set_nt_acl(vfs_handle_struct *handle, files_struct *fsp,