Change the prototype of the vfs function get_nt_acl().
authorMichael Adam <obnox@samba.org>
Wed, 5 Dec 2007 08:53:10 +0000 (09:53 +0100)
committerMichael Adam <obnox@samba.org>
Wed, 19 Dec 2007 22:08:01 +0000 (23:08 +0100)
commit233eb0e560acb26f8706fd3ab96d4c6379458414
tree6605af3247d222d425cadd7376250008a72ed249
parent9460dfc93343f395f6a3867f9f8ec4dfb47bfbc7
Change the prototype of the vfs function get_nt_acl().

Up to now, get_nt_acl() took a files_struct pointer (fsp) and
a file name. All the underlying functions should need and now
do need (after the previous preparatory work), is a connection_struct
and a file name. The connection_struct is already there in the
vfs_handle passed to the vfs functions. So the files_struct
argument can be eliminated.

This eliminates the need of calling open_file_stat in a couple
of places to produce the fsp needed.

Michael
(This used to be commit b5f600fab53c9d159a958c59795db3ba4a8acc63)
12 files changed:
source3/include/vfs.h
source3/include/vfs_macros.h
source3/modules/vfs_afsacl.c
source3/modules/vfs_catia.c
source3/modules/vfs_default.c
source3/modules/vfs_full_audit.c
source3/modules/vfs_gpfs.c
source3/modules/vfs_zfsacl.c
source3/rpc_server/srv_srvsvc_nt.c
source3/smbd/file_access.c
source3/smbd/nttrans.c
source3/smbd/posix_acls.c