From 918a6910d0d315b2786c5f8645babf6a13b8a949 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Fri, 2 Feb 2007 17:48:21 +0000 Subject: r21127: Add a mitigating comment ;-)) --- source/modules/vfs_default.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'source/modules') 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); -- cgit