summaryrefslogtreecommitdiff
path: root/fs/splice.c
diff options
context:
space:
mode:
authorThibaut VARENE <T-Bone@parisc-linux.org>2007-03-15 11:59:19 (GMT)
committerJens Axboe <jens.axboe@oracle.com>2007-03-27 06:53:04 (GMT)
commit1ffb96c587fa2af0d690dc3548a4a781c477bfb7 (patch)
treee813df1932a8f2ed55f9f5d5f35407a878620680 /fs/splice.c
parentf772b3d9ca135087a70406d8466e57d1cf29237e (diff)
downloadlinux-fsl-qoriq-1ffb96c587fa2af0d690dc3548a4a781c477bfb7.tar.xz
make elv_register() output atomic
Booting 2.6.21-rc3-g45592145 I noticed the following on one of my machines in the bootlog: io scheduler noop registered<6>Time: jiffies clocksource has been installed. io scheduler deadline registered (default) Looking at block/elevator.c, it appears that elv_register() uses two consecutive printks in a non-atomic way, leading to the above glitch. The attached trivial patch fixes this issue, by using a single printk. Signed-off-by: Thibaut VARENE <varenet@parisc-linux.org> Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'fs/splice.c')
0 files changed, 0 insertions, 0 deletions