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)
commitb5f600fab53c9d159a958c59795db3ba4a8acc63
tree863ca5561a3bf60d03cbe1220e06349044a2c9a6
parent15caf58c81ce6b68eefa03c8f8510c2ecb5fdeb3
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
12 files changed:
source/include/vfs.h
source/include/vfs_macros.h
source/modules/vfs_afsacl.c
source/modules/vfs_catia.c
source/modules/vfs_default.c
source/modules/vfs_full_audit.c
source/modules/vfs_gpfs.c
source/modules/vfs_zfsacl.c
source/rpc_server/srv_srvsvc_nt.c
source/smbd/file_access.c
source/smbd/nttrans.c
source/smbd/posix_acls.c