From 7074680bcf4484b91428fa39c733e95c3563524e 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 ;-)) (This used to be commit 918a6910d0d315b2786c5f8645babf6a13b8a949) --- source3/modules/vfs_default.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'source3') 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); -- cgit