inotify: Fix cleanup on ENOSYS

If inotify_init() has failed with ENOSYS we should only cleanup what has
been initialized (mostly remove temp directory).

Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
Reported-by: Troy-lee <798528972@qq.com>
3 files changed