nfs4_acls: Remove fsp from smbacl4_win2nfs4
authorChristof Schmitt <cs@samba.org>
Tue, 11 Jun 2019 23:15:10 +0000 (16:15 -0700)
committerChristof Schmitt <cs@samba.org>
Tue, 23 Jul 2019 18:27:25 +0000 (18:27 +0000)
commita06486bb110d04a90b66a0bca4b1b600ef3c0ebf
tree6bbb058d9fb909e94337af8f7f8d81578438d707
parent42bd3a72a2525aa8a918f4bf7067b30ce8e0e197
nfs4_acls: Remove fsp from smbacl4_win2nfs4

Only the information whether the ACL is for a file or a directory is
required. Replacing the fsp with a flag is clearer and allows for unit
testing of the mapping functions.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14032

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/modules/nfs4_acls.c