summaryrefslogtreecommitdiff
path: root/source4/ntvfs/posix/pvfs_open.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2006-03-30 02:06:06 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:59:19 -0500
commit8a95fa446e1eca4c9ff332202f23183411b44c04 (patch)
tree3748a12271b1948ea6a9528aa5b4872470d145f2 /source4/ntvfs/posix/pvfs_open.c
parent33f663b25206c6cc4b2c33dfca3983d9dfee73dc (diff)
downloadsamba-8a95fa446e1eca4c9ff332202f23183411b44c04.tar.gz
samba-8a95fa446e1eca4c9ff332202f23183411b44c04.tar.bz2
samba-8a95fa446e1eca4c9ff332202f23183411b44c04.zip
r14793: the RAW-NOTIFY test now passes. Next I need to make it efficient, and
add the hooks in all the other places (This used to be commit d1937589029ac2a75d15f006685769c44a274a65)
Diffstat (limited to 'source4/ntvfs/posix/pvfs_open.c')
-rw-r--r--source4/ntvfs/posix/pvfs_open.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/ntvfs/posix/pvfs_open.c b/source4/ntvfs/posix/pvfs_open.c
index 1b1c32cab5..38123c3a9e 100644
--- a/source4/ntvfs/posix/pvfs_open.c
+++ b/source4/ntvfs/posix/pvfs_open.c
@@ -730,6 +730,8 @@ static NTSTATUS pvfs_create_file(struct pvfs_state *pvfs,
/* success - keep the file handle */
talloc_steal(pvfs, f);
+ notify_trigger(pvfs->notify_context, NOTIFY_ACTION_ADDED, name->full_name);
+
return NT_STATUS_OK;
cleanup_delete: