On Fri, Jun 26, 2009 at 03:45:32PM -0700, MargoAndTodd wrote: > My poor /var/log/messages is getting hammered with: > > smbd[16076]: No data on inotify fd?! > > smbd[16076]: [2009/06/25 13:21:18, 0] \ > smbd/notify_inotify.c:inotify_handler(249) > > Everything else seems to be working fine. Any idea > what this is all about?
Is there any way to reproduce this? Till we really fix this, can you try the attached workaround patch? This will reduce the number of messages a lot. Thanks, Volker
diff --git a/source/smbd/notify_inotify.c b/source/smbd/notify_inotify.c
index a9eb221..4c02140 100644
--- a/source/smbd/notify_inotify.c
+++ b/source/smbd/notify_inotify.c
@@ -238,6 +238,7 @@ static void inotify_handler(struct event_context *ev,
struct fd_event *fde,
if (ioctl(in->fd, FIONREAD, &bufsize) != 0 ||
bufsize == 0) {
DEBUG(0,("No data on inotify fd?!\n"));
+ TALLOC_FREE(fde);
return;
}
signature.asc
Description: Digital signature
-- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
