diff options
author | Andrew Bartlett <abartlet@samba.org> | 2012-08-13 19:38:09 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2012-08-15 11:44:45 +1000 |
commit | 3b409324d3196b8f08df63189fc7d0802f03d757 (patch) | |
tree | f7c08fe9e00437b1f27aebe67d6df29a40c627de /source3/smbd/trans2.c | |
parent | 7dff34f5d08d6389e0465d70a267ec87ed14849e (diff) | |
download | samba-3b409324d3196b8f08df63189fc7d0802f03d757.tar.gz samba-3b409324d3196b8f08df63189fc7d0802f03d757.tar.xz samba-3b409324d3196b8f08df63189fc7d0802f03d757.zip |
s3-smbd: Call sys_acl_get_permset() directly rather than via the VFS
This will allow us to remove the struct smb_acl_t manipuations from the VFS layer,
which will be reduced to handling the get/set functions.
Andrew Bartlett
Diffstat (limited to 'source3/smbd/trans2.c')
-rw-r--r-- | source3/smbd/trans2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c index 867e0e56b85..7f3f9cc1ffb 100644 --- a/source3/smbd/trans2.c +++ b/source3/smbd/trans2.c @@ -3873,7 +3873,7 @@ static bool marshall_posix_acl(connection_struct *conn, char *pdata, SMB_STRUCT_ return False; } - if (SMB_VFS_SYS_ACL_GET_PERMSET(conn, entry, &permset) == -1) { + if (sys_acl_get_permset(entry, &permset) == -1) { DEBUG(0,("marshall_posix_acl: SMB_VFS_SYS_ACL_GET_PERMSET failed.\n")); return False; } |