git.samba.org
/
kamenim
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c5792db
)
r14932: ensure that we send a NOTIFY_ACTION_OLD_NAME and
author
Andrew Tridgell
<tridge@samba.org>
Thu, 6 Apr 2006 01:54:12 +0000
(
01:54
+0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 19:00:18 +0000
(14:00 -0500)
NOTIFY_ACTION_NEW_NAME together to the client.
(This used to be commit
d58011b0f35c3299f35ba9d72a7b9b9b17253511
)
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 ea11a9ff900b79c06fd982c81fd259f823cdcb12..652a5260d58c53e5c64ab4c58f6df88fa7c3cdbe 100644
(file)
--- a/
source4/ntvfs/posix/pvfs_notify.c
+++ b/
source4/ntvfs/posix/pvfs_notify.c
@@
-125,8
+125,10
@@
static void pvfs_notify_callback(void *private, const struct notify_event *ev)
}
n->current_buffer_size += len;
- /* send what we have */
- pvfs_notify_send(n, NT_STATUS_OK);
+ /* send what we have, unless its the first part of a rename */
+ if (ev->action != NOTIFY_ACTION_OLD_NAME) {
+ pvfs_notify_send(n, NT_STATUS_OK);
+ }
}
/*