summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2007-02-02 17:48:21 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:17:41 -0500
commit7074680bcf4484b91428fa39c733e95c3563524e (patch)
tree8207388bb703ffbf4b8502964705cddcacdeac50
parent0d0e322d4d1fb1a9b1b5fb7825af093b48306826 (diff)
downloadsamba-7074680bcf4484b91428fa39c733e95c3563524e.tar.gz
samba-7074680bcf4484b91428fa39c733e95c3563524e.tar.bz2
samba-7074680bcf4484b91428fa39c733e95c3563524e.zip
r21127: Add a mitigating comment ;-))
(This used to be commit 918a6910d0d315b2786c5f8645babf6a13b8a949)
-rw-r--r--source3/modules/vfs_default.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/source3/modules/vfs_default.c b/source3/modules/vfs_default.c
index 458618ee0b..6defa238b9 100644
--- a/source3/modules/vfs_default.c
+++ b/source3/modules/vfs_default.c
@@ -841,6 +841,14 @@ static NTSTATUS vfswrap_notify_watch(vfs_handle_struct *vfs_handle,
struct notify_event *ev),
void *private_data, void *handle)
{
+ /*
+ * So far inotify is the only supported default notify mechanism. If
+ * another platform like the the BSD's or a proprietary Unix comes
+ * along and wants another default, we can play the same trick we
+ * played with Posix ACLs.
+ *
+ * Until that is the case, hard-code inotify here.
+ */
#ifdef HAVE_INOTIFY
if (lp_kernel_change_notify(ctx->conn->params)) {
return inotify_watch(ctx, e, callback, private_data, handle);