diff options
author | Michael Adam <obnox@samba.org> | 2008-01-08 01:54:19 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2008-01-08 01:54:19 +0100 |
commit | 5921607f2647cec20a6bcebd17c5a0c53449c1ba (patch) | |
tree | 09b0b2af053045a0568649292e6af3e09a125a43 /source3/modules/vfs_posixacl.c | |
parent | b2182c11eab0e1b2f0acb5d82aec86d4598573eb (diff) | |
download | samba-5921607f2647cec20a6bcebd17c5a0c53449c1ba.tar.gz |
Remove redundant parameter fd from SMB_VFS_SYS_ACL_SET_FD().
Michael
(This used to be commit 9296e93588c0e795cae770765050247ac1474a74)
Diffstat (limited to 'source3/modules/vfs_posixacl.c')
-rw-r--r-- | source3/modules/vfs_posixacl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/modules/vfs_posixacl.c b/source3/modules/vfs_posixacl.c index faa5e8e2ad7..21fb2ada319 100644 --- a/source3/modules/vfs_posixacl.c +++ b/source3/modules/vfs_posixacl.c @@ -113,14 +113,14 @@ int posixacl_sys_acl_set_file(vfs_handle_struct *handle, int posixacl_sys_acl_set_fd(vfs_handle_struct *handle, files_struct *fsp, - int fd, SMB_ACL_T theacl) + SMB_ACL_T theacl) { int res; acl_t acl = smb_acl_to_posix(theacl); if (acl == NULL) { return -1; } - res = acl_set_fd(fd, acl); + res = acl_set_fd(fsp->fh->fd, acl); acl_free(acl); return res; } |