diff options
| author | Volker Lendecke <vl@samba.org> | 2014-10-27 13:15:12 +0000 |
|---|---|---|
| committer | Jeremy Allison <jra@samba.org> | 2014-12-09 04:12:09 +0100 |
| commit | 01a167818d0d927dc9190e4c4b196a701110207e (patch) | |
| tree | 3c080960ff3bafca3f734d768a5fe44741738bc1 /python | |
| parent | eb10a36a96f5b4da4ab4677761b8dab7ceeec7b0 (diff) | |
| download | samba-01a167818d0d927dc9190e4c4b196a701110207e.tar.gz samba-01a167818d0d927dc9190e4c4b196a701110207e.tar.xz samba-01a167818d0d927dc9190e4c4b196a701110207e.zip | |
notify_inotify: Slightly simplify inotify_watch
tallocing first avoids having to call inotify_rm_watch
This even fixes a real error: We share inotifies between different instances,
so the rm_watch in the error paths destroys other legitimate watches
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'python')
0 files changed, 0 insertions, 0 deletions
