make fanotify_read() restartable across signals
authorLino Sanfilippo <LinoSanfilippo@gmx.de>
Fri, 29 Oct 2010 10:06:42 +0000 (12:06 +0200)
committerEric Paris <eparis@redhat.com>
Sat, 30 Oct 2010 18:07:35 +0000 (14:07 -0400)
commit1a5cea7215f7c6bd3c960d7b44e864f3a73d1ad4
treed8bdd846e5ef83c1707eaf9e9040705d80869260
parentd8c0fca68da25ca3df534dfb12ce628675c828e4
make fanotify_read() restartable across signals

    In fanotify_read() return -ERESTARTSYS instead of -EINTR to
    make read() restartable across signals (BSD semantic).

Signed-off-by: Eric Paris <eparis@redhat.com>
fs/notify/fanotify/fanotify_user.c