0 is a valid inotify_init() return value.