Skip to content
Commit 1ca39ab9 authored by Eric Paris's avatar Eric Paris
Browse files

inotify: automatically restart syscalls



We were mistakenly returning EINTR when we found an outstanding signal.
Instead we should returen ERESTARTSYS and allow the kernel to handle
things the right way.

Patch-from: Oleg Nesterov <oleg@redhat.com>
Signed-off-by: default avatarEric Paris <eparis@redhat.com>
parent 8b99c3cc
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment