git.samba.org
/
jra
/
samba
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
r14616: added notify change support to the posix backend
[jra/samba/.git]
/
source
/
ntvfs
/
posix
/
pvfs_unlink.c
diff --git
a/source/ntvfs/posix/pvfs_unlink.c
b/source/ntvfs/posix/pvfs_unlink.c
index 76c9bc10a408881033dc067bbecbd4d832b92694..3a6e4bba2f89f3d71cf951f47d674dbe4a60a5b6 100644
(file)
--- a/
source/ntvfs/posix/pvfs_unlink.c
+++ b/
source/ntvfs/posix/pvfs_unlink.c
@@
-103,6
+103,11
@@
static NTSTATUS pvfs_unlink_one(struct pvfs_state *pvfs,
status = pvfs_map_errno(pvfs, errno);
}
+ if (NT_STATUS_IS_OK(status)) {
+ notify_trigger(pvfs->notify_context, NOTIFY_ACTION_REMOVED,
+ name->full_name);
+ }
+
talloc_free(name);
return status;