s3: Modifications to generic notify structures to allow implementation of OneFS notify.
authorSteven Danneman <steven.danneman@isilon.com>
Fri, 20 Feb 2009 21:23:53 +0000 (13:23 -0800)
committerMichael Adam <obnox@samba.org>
Tue, 28 Jul 2009 13:12:44 +0000 (15:12 +0200)
commitc216d1e64298f6013e9f1f542d0289883c0cbffd
treed1e2bda7a2f1a78b68dbb816b03faa236d0e0c4a
parentd00bc38588e9138c8948843f07b7a101ce6e8b23
s3: Modifications to generic notify structures to allow implementation of OneFS notify.

The OneFS kernel based change notify system takes an fd of the directory
to watch in it's initialization syscall.  Since we already have this
directory open, this commit plumbs that fd down to the VFS layer via the
notify_entry struct.

We also need to know if the watch is taken out on a snapshot directory.
The full file_id struct is also passed down to make this determination.
The file_id marshalling wrappers are hand written here, but should
eventually be auto-generated by moving the struct file_id into the idl.
source/librpc/gen_ndr/ndr_notify.c
source/librpc/gen_ndr/notify.h
source/librpc/idl/notify.idl
source/librpc/ndr/ndr_basic.c
source/smbd/notify.c