s4: ntvfs: Add a TALLOC_CTX * to sys_notify_register().
authorJeremy Allison <jra@samba.org>
Thu, 11 May 2017 22:50:08 +0000 (15:50 -0700)
committerRalph Boehme <slow@samba.org>
Sat, 13 May 2017 14:50:13 +0000 (16:50 +0200)
commit6f05597f5f02c2ad2b01a66e3b3b4625c6f05021
treed4750b12af6aa55917c817f248aeb9188e968f71
parentf0d8913a0f795657200c18807bd3855eef5fb6e0
s4: ntvfs: Add a TALLOC_CTX * to sys_notify_register().

Pass in the TALLOC_CTX * from the module init to remove
another talloc_autofree_context() use.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source4/ntvfs/sysdep/inotify.c
source4/ntvfs/sysdep/sys_notify.c
source4/ntvfs/sysdep/sys_notify.h