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)
committerSteven Danneman <steven.danneman@isilon.com>
Fri, 20 Feb 2009 22:10:30 +0000 (14:10 -0800)
commitb329ea1cf35cfe151ac026eefc8ff82b2dfd711c
tree486f0d6d63c189e42b4bcac004ff0f20e39a4026
parent1a0aed36c0fc3815c832be1086a3a66256426414
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.
source3/include/proto.h
source3/librpc/gen_ndr/ndr_notify.c
source3/librpc/gen_ndr/notify.h
source3/librpc/idl/notify.idl
source3/librpc/ndr/util.c
source3/smbd/notify.c