inotify: retry if system call was interrupted
Merge pull request #121 from takoi/sleep-mode-fix

inotify: recover from interrupted system call