diff options
author | Andrew Bartlett <abartlet@samba.org> | 2010-05-05 12:47:07 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2010-05-18 13:21:09 +1000 |
commit | 415bd627642bb8f18f180daaf61c4a6ddb62ebbd (patch) | |
tree | e927c64cc0afcc36c1399450d242fb5d614deb65 /source4/ntvfs/posix | |
parent | e11a67de7d2b67f9efe47c471a9b35a14ec8ad47 (diff) | |
download | samba-415bd627642bb8f18f180daaf61c4a6ddb62ebbd.tar.gz samba-415bd627642bb8f18f180daaf61c4a6ddb62ebbd.tar.bz2 samba-415bd627642bb8f18f180daaf61c4a6ddb62ebbd.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 778897d96e..6a857dbf65 100644 --- a/source4/ntvfs/posix/pvfs_notify.c +++ b/source4/ntvfs/posix/pvfs_notify.c @@ -179,6 +179,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); /* We may not fill in all the elements in this entry - * structure may in future be shared with Samba3 */ |