diff options
author | Jeremy Allison <jra@samba.org> | 2017-04-20 12:24:43 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2017-04-22 01:17:00 +0200 |
commit | 306783d6f5d577a0b8bd31d659d8c802f22f0333 (patch) | |
tree | 20e1c5a45b027d061d3dc0cab9028bbccaef7ab7 /source3/modules/vfs_posix_eadb.c | |
parent | 9342b3ebf7fe7b7565406bd9a606b6676c08b029 (diff) | |
download | samba-306783d6f5d577a0b8bd31d659d8c802f22f0333.tar.gz |
lib: modules: Change XXX_init interface from XXX_init(void) to XXX_init(TALLOC_CTX *)
Not currently used - no logic changes inside.
This will make it possible to pass down a long-lived talloc
context from the loading function for modules to use instead
of having them internally all use talloc_autofree_context()
which is a hidden global.
Updated all known module interface numbers, and added a
WHATSNEW.
Signed-off-by: Jeremy Allison <jra@samba.org>
Signed-off-by: Ralph Böhme <slow@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Sat Apr 22 01:17:00 CEST 2017 on sn-devel-144
Diffstat (limited to 'source3/modules/vfs_posix_eadb.c')
-rw-r--r-- | source3/modules/vfs_posix_eadb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/modules/vfs_posix_eadb.c b/source3/modules/vfs_posix_eadb.c index 2c7717a508b..129f0720d55 100644 --- a/source3/modules/vfs_posix_eadb.c +++ b/source3/modules/vfs_posix_eadb.c @@ -434,7 +434,7 @@ static struct vfs_fn_pointers vfs_posix_eadb_fns = { }; static_decl_vfs; -NTSTATUS vfs_posix_eadb_init(void) +NTSTATUS vfs_posix_eadb_init(TALLOC_CTX *ctx) { return smb_register_vfs(SMB_VFS_INTERFACE_VERSION, "posix_eadb", &vfs_posix_eadb_fns); |