diff options
author | Andrew Tridgell <tridge@samba.org> | 2006-03-21 11:47:24 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:59:02 -0500 |
commit | 3434cd778c975eb1bb29d257770bd6dbb2335ce9 (patch) | |
tree | 57e6d0c3344b1d8db4ff7278e36ad75d2c30c930 /source4/ntvfs/posix/pvfs_unlink.c | |
parent | 830b7447107f5fe71d9947cc0f099dce4de5d53e (diff) | |
download | samba-3434cd778c975eb1bb29d257770bd6dbb2335ce9.tar.gz samba-3434cd778c975eb1bb29d257770bd6dbb2335ce9.tar.bz2 samba-3434cd778c975eb1bb29d257770bd6dbb2335ce9.zip |
r14616: added notify change support to the posix backend
It doesn't fully work yet, and doesn't yet have all the efficiency
that is planned, but it doesn't break anything and I wanted to get the
code in the tree to minimise the chance of collisions with the work
metze is doing.
(This used to be commit 1624ea88e6eef89caacc36e7513aa79df0d579b9)
Diffstat (limited to 'source4/ntvfs/posix/pvfs_unlink.c')
-rw-r--r-- | source4/ntvfs/posix/pvfs_unlink.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source4/ntvfs/posix/pvfs_unlink.c b/source4/ntvfs/posix/pvfs_unlink.c index 76c9bc10a4..3a6e4bba2f 100644 --- a/source4/ntvfs/posix/pvfs_unlink.c +++ b/source4/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; |