diff options
author | Andrew Tridgell <tridge@samba.org> | 2006-04-06 01:56:04 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:00:19 -0500 |
commit | e54abee4e19538760119e8e63eb23f78fd88da4f (patch) | |
tree | 52652d0565a76ff1cfa263707c919586f29a5b92 /source4/ntvfs/posix/pvfs_open.c | |
parent | fe071da009d910c3325f016ae9e4b349d726802f (diff) | |
download | samba-e54abee4e19538760119e8e63eb23f78fd88da4f.tar.gz samba-e54abee4e19538760119e8e63eb23f78fd88da4f.tar.bz2 samba-e54abee4e19538760119e8e63eb23f78fd88da4f.zip |
r14933: fix the handling of notify filters to be much closer to the behaviour
of w2k3. The behaviour is particularly tricky for rename.
(This used to be commit 4d3b8d95498a328ffc08ecb62d9531b6bfe4e2b5)
Diffstat (limited to 'source4/ntvfs/posix/pvfs_open.c')
-rw-r--r-- | source4/ntvfs/posix/pvfs_open.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/ntvfs/posix/pvfs_open.c b/source4/ntvfs/posix/pvfs_open.c index 264234a09b..5afb538db7 100644 --- a/source4/ntvfs/posix/pvfs_open.c +++ b/source4/ntvfs/posix/pvfs_open.c @@ -380,8 +380,8 @@ static NTSTATUS pvfs_open_directory(struct pvfs_state *pvfs, create_action = NTCREATEX_ACTION_CREATED; notify_trigger(pvfs->notify_context, - NOTIFY_ACTION_REMOVED, - FILE_NOTIFY_CHANGE_FILE_NAME|FILE_NOTIFY_CHANGE_DIR_NAME, + NOTIFY_ACTION_ADDED, + FILE_NOTIFY_CHANGE_DIR_NAME, name->full_name); } else { create_action = NTCREATEX_ACTION_EXISTED; |