switched inotify_init1() to alloc_file()