git.samba.org
/
gd
/
samba
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e11a67d
)
s4:ntvfs Prepare for a possible future sharing of notify.idl
author
Andrew Bartlett
<abartlet@samba.org>
Wed, 5 May 2010 02:47:07 +0000
(12:47 +1000)
committer
Andrew Bartlett
<abartlet@samba.org>
Tue, 18 May 2010 03:21:09 +0000
(13:21 +1000)
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
source4/ntvfs/posix/pvfs_notify.c
patch
|
blob
|
history
diff --git
a/source4/ntvfs/posix/pvfs_notify.c
b/source4/ntvfs/posix/pvfs_notify.c
index 778897d96eb01a2e1b2cb9c5d425e741cb504fda..6a857dbf656633e064b44ad3d3e799e06b01a063 100644
(file)
--- 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 */