diff options
Diffstat (limited to 'fs/pipe.c')
-rw-r--r-- | fs/pipe.c | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -654,8 +654,11 @@ out: | |||
654 | wake_up_interruptible_sync_poll(&pipe->wait, POLLIN | POLLRDNORM); | 654 | wake_up_interruptible_sync_poll(&pipe->wait, POLLIN | POLLRDNORM); |
655 | kill_fasync(&pipe->fasync_readers, SIGIO, POLL_IN); | 655 | kill_fasync(&pipe->fasync_readers, SIGIO, POLL_IN); |
656 | } | 656 | } |
657 | if (ret > 0) | 657 | if (ret > 0) { |
658 | file_update_time(filp); | 658 | int err = file_update_time(filp); |
659 | if (err) | ||
660 | ret = err; | ||
661 | } | ||
659 | return ret; | 662 | return ret; |
660 | } | 663 | } |
661 | 664 | ||