diff options
author | Andrew Bartlett <abartlet@samba.org> | 2010-05-05 12:47:07 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2010-05-14 23:25:45 +1000 |
commit | 81407b1bffed137c02790d908893bac7b99ce956 (patch) | |
tree | 11509ba34ddfd95c9ccd6ab17bb22dd52b72ffdd /source4/ntvfs/posix | |
parent | 79bd6a6764079e982fb7e1ba1c24a9037e126175 (diff) | |
download | samba-81407b1bffed137c02790d908893bac7b99ce956.tar.gz samba-81407b1bffed137c02790d908893bac7b99ce956.tar.bz2 samba-81407b1bffed137c02790d908893bac7b99ce956.zip |
s4:ntvfs Prepare for a possible future sharing of notify.idl
I would love for notify.idl to be shared between Samba4 and Samba3
some day, and this seems to be the point at which the structure is
initialised.
Andrew Bartlett
Diffstat (limited to 'source4/ntvfs/posix')
-rw-r--r-- | source4/ntvfs/posix/pvfs_notify.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/ntvfs/posix/pvfs_notify.c b/source4/ntvfs/posix/pvfs_notify.c index 3e6f442d61..778897d96e 100644 --- a/source4/ntvfs/posix/pvfs_notify.c +++ b/source4/ntvfs/posix/pvfs_notify.c @@ -180,6 +180,10 @@ static NTSTATUS pvfs_notify_setup(struct pvfs_state *pvfs, struct pvfs_file *f, NTSTATUS status; struct notify_entry e; + /* We may not fill in all the elements in this entry - + * structure may in future be shared with Samba3 */ + ZERO_STRUCT(e); + f->notify_buffer = talloc_zero(f, struct pvfs_notify_buffer); NT_STATUS_HAVE_NO_MEMORY(f->notify_buffer); |