]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd7f76b614cd289471a24fea604f21b5a690e2ec0
treed8bdd846e5ef83c1707eaf9e9040705d80869260
parentbde3e3b6b977eef9eca213ef6573c630a9719e77
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