Change apply_default_perms() to not take an fsp.
commitbb89f8cb94802bb2f9b43c1c63fd55ee2de9b09e
authorMichael Adam <obnox@samba.org>
Sat, 27 Oct 2007 23:14:51 +0000 (28 01:14 +0200)
committerMichael Adam <obnox@samba.org>
Wed, 19 Dec 2007 22:07:55 +0000 (19 23:07 +0100)
tree7f8953db968e884660fdfe5c719328830a2ead12
parente518e19bc0000019f131354f55e9f5b55f6a2c5e
Change apply_default_perms() to not take an fsp.

This is a first change in a series: Pass what is needed instead of files_struct
pointers to some functions. This is in preparation of introducing two variants
of get_nt_acl - one for fname (which does not need an fsp), one for file
descriptor.

This changes apply_default_perms to take share_params (rather thatn snum)
and an is_directory flag instead of an fsp.

Michael
(This used to be commit d7e2e93758f6598a0459db3255300558618f066e)
source3/smbd/posix_acls.c