summaryrefslogtreecommitdiffstats
path: root/source/modules
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
commit918a6910d0d315b2786c5f8645babf6a13b8a949 (patch)
tree8c4c6fb471203a0d979834cfe8792978da297f8f /source/modules
parentd663b729c0b3f4265fa90a5df8534ad52b8f04eb (diff)
downloadsamba-918a6910d0d315b2786c5f8645babf6a13b8a949.tar.gz
samba-918a6910d0d315b2786c5f8645babf6a13b8a949.tar.xz
samba-918a6910d0d315b2786c5f8645babf6a13b8a949.zip
r21127: Add a mitigating comment ;-))
Diffstat (limited to 'source/modules')
-rw-r--r--source/modules/vfs_default.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/source/modules/vfs_default.c b/source/modules/vfs_default.c
index 458618ee0b3..6defa238b98 100644
--- a/source/modules/vfs_default.c
+++ b/source/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);