aboutsummaryrefslogtreecommitdiffstats
path: root/fs/pipe.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/pipe.c')
-rw-r--r--fs/pipe.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/fs/pipe.c b/fs/pipe.c
index 37ba29ff3158..a9dcf21a8871 100644
--- a/fs/pipe.c
+++ b/fs/pipe.c
@@ -434,8 +434,14 @@ redo:
434 wake_up_interruptible_sync(&pipe->wait); 434 wake_up_interruptible_sync(&pipe->wait);
435 kill_fasync(&pipe->fasync_writers, SIGIO, POLL_OUT); 435 kill_fasync(&pipe->fasync_writers, SIGIO, POLL_OUT);
436 } 436 }
437 /*
438 * Hack: we turn off atime updates for -RT kernels.
439 * Who uses them on pipes anyway?
440 */
441#ifndef CONFIG_PREEMPT_RT
437 if (ret > 0) 442 if (ret > 0)
438 file_accessed(filp); 443 file_accessed(filp);
444#endif
439 return ret; 445 return ret;
440} 446}
441 447
@@ -607,8 +613,14 @@ out:
607 wake_up_interruptible_sync(&pipe->wait); 613 wake_up_interruptible_sync(&pipe->wait);
608 kill_fasync(&pipe->fasync_readers, SIGIO, POLL_IN); 614 kill_fasync(&pipe->fasync_readers, SIGIO, POLL_IN);
609 } 615 }
616 /*
617 * Hack: we turn off atime updates for -RT kernels.
618 * Who uses them on pipes anyway?
619 */
620#ifndef CONFIG_PREEMPT_RT
610 if (ret > 0) 621 if (ret > 0)
611 file_update_time(filp); 622 file_update_time(filp);
623#endif
612 return ret; 624 return ret;
613} 625}
614 626