diff options
author | Volker Lendecke <vlendec@samba.org> | 2007-01-07 18:08:50 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:16:57 -0500 |
commit | b2efff8fe5cdfd031a7b6f814993a9c234a66ee8 (patch) | |
tree | e234e62e7e034976df2e6d3ff663489d95ac46ea /source3/smbd/notify.c | |
parent | bb357a1617761177475a422008a14a1ac0435eb1 (diff) | |
download | samba-b2efff8fe5cdfd031a7b6f814993a9c234a66ee8.tar.gz samba-b2efff8fe5cdfd031a7b6f814993a9c234a66ee8.tar.xz samba-b2efff8fe5cdfd031a7b6f814993a9c234a66ee8.zip |
r20597: Survive some of the notify mask tests.
(This used to be commit e4a2e63272dc5b20413597179d06b0185c4a6817)
Diffstat (limited to 'source3/smbd/notify.c')
-rw-r--r-- | source3/smbd/notify.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/source3/smbd/notify.c b/source3/smbd/notify.c index f94ff76e7b8..bcd8fcb0ab1 100644 --- a/source3/smbd/notify.c +++ b/source3/smbd/notify.c @@ -541,6 +541,20 @@ void notify_action(connection_struct *conn, const char *parent, TALLOC_FREE(lck); } +void notify_fname(connection_struct *conn, const char *path, + uint32 filter, uint32 action) +{ + char *parent; + const char *name; + + if (!parent_dirname_talloc(tmp_talloc_ctx(), path, &parent, &name)) { + return; + } + + notify_action(conn, parent, name, filter, action); + TALLOC_FREE(parent); +} + static void notify_fsp(files_struct *fsp, struct notify_message *msg) { struct notify_change *change, *changes; |