aboutsummaryrefslogtreecommitdiffstats
path: root/fs/notify
diff options
context:
space:
mode:
Diffstat (limited to 'fs/notify')
-rw-r--r--fs/notify/fanotify/fanotify_user.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/notify/fanotify/fanotify_user.c b/fs/notify/fanotify/fanotify_user.c
index fce66dfbf7d5..063224812b7e 100644
--- a/fs/notify/fanotify/fanotify_user.c
+++ b/fs/notify/fanotify/fanotify_user.c
@@ -330,7 +330,7 @@ static ssize_t fanotify_read(struct file *file, char __user *buf,
330 ret = -EAGAIN; 330 ret = -EAGAIN;
331 if (file->f_flags & O_NONBLOCK) 331 if (file->f_flags & O_NONBLOCK)
332 break; 332 break;
333 ret = -EINTR; 333 ret = -ERESTARTSYS;
334 if (signal_pending(current)) 334 if (signal_pending(current))
335 break; 335 break;
336 336