server: Don't bother with default entry points for objects that don't even return an fd.
diff --git a/server/change.c b/server/change.c
index 6f4489d..c7d5823 100644
--- a/server/change.c
+++ b/server/change.c
@@ -518,11 +518,11 @@
{
inotify_get_poll_events, /* get_poll_events */
inotify_poll_event, /* poll_event */
- no_flush, /* flush */
- no_get_fd_type, /* get_fd_type */
- default_fd_queue_async, /* queue_async */
- default_fd_reselect_async, /* reselect_async */
- default_fd_cancel_async, /* cancel_async */
+ NULL, /* flush */
+ NULL, /* get_fd_type */
+ NULL, /* queue_async */
+ NULL, /* reselect_async */
+ NULL, /* cancel_async */
};
static int inotify_get_poll_events( struct fd *fd )