diff options
author | Carl Henrik Lunde <chlunde@ping.uio.no> | 2008-06-12 22:13:58 +0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-06-12 22:20:57 +0400 |
commit | 14a73f54798f39854e521fb596da7d50b7566bbd (patch) | |
tree | 2c9055792b004d21a9ca52660b036ca92de057ea /block/noop-iosched.c | |
parent | 95dcf8350dc889e735d03c0debe2f7b26d243185 (diff) | |
download | linux-14a73f54798f39854e521fb596da7d50b7566bbd.tar.xz |
block: disable IRQs until data is written to relay channel
As we may run relay_reserve from interrupt context we must always disable
IRQs. This is because a call to relay_reserve may expose previously written
data to use space.
Updated new message code and an old but related comment.
Signed-off-by: Carl Henrik Lunde <chlunde@ping.uio.no>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'block/noop-iosched.c')
0 files changed, 0 insertions, 0 deletions