aboutsummaryrefslogtreecommitdiffstats
path: root/fs/notify/inotify/inotify_user.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/notify/inotify/inotify_user.c')
-rw-r--r--fs/notify/inotify/inotify_user.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/notify/inotify/inotify_user.c b/fs/notify/inotify/inotify_user.c
index a6879d169241..463e828f1f31 100644
--- a/fs/notify/inotify/inotify_user.c
+++ b/fs/notify/inotify/inotify_user.c
@@ -264,7 +264,7 @@ static ssize_t inotify_read(struct file *file, char __user *buf,
264 ret = -EAGAIN; 264 ret = -EAGAIN;
265 if (file->f_flags & O_NONBLOCK) 265 if (file->f_flags & O_NONBLOCK)
266 break; 266 break;
267 ret = -EINTR; 267 ret = -ERESTARTSYS;
268 if (signal_pending(current)) 268 if (signal_pending(current))
269 break; 269 break;
270 270