svn commit: samba r21127 - in branches/SAMBA_3_0/source/modules: .

vlendec at samba.org vlendec at samba.org
Fri Feb 2 17:48:21 GMT 2007


Author: vlendec
Date: 2007-02-02 17:48:21 +0000 (Fri, 02 Feb 2007)
New Revision: 21127

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=21127

Log:
Add a mitigating comment ;-))
Modified:
   branches/SAMBA_3_0/source/modules/vfs_default.c


Changeset:
Modified: branches/SAMBA_3_0/source/modules/vfs_default.c
===================================================================
--- branches/SAMBA_3_0/source/modules/vfs_default.c	2007-02-02 17:38:04 UTC (rev 21126)
+++ branches/SAMBA_3_0/source/modules/vfs_default.c	2007-02-02 17:48:21 UTC (rev 21127)
@@ -841,6 +841,14 @@
 						      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);



More information about the samba-cvs mailing list