commit | 14a73f54798f39854e521fb596da7d50b7566bbd | [log] [tgz] |
---|---|---|
author | Carl Henrik Lunde <chlunde@ping.uio.no> | Thu Jun 12 20:13:58 2008 +0200 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Thu Jun 12 11:20:57 2008 -0700 |
tree | 2c9055792b004d21a9ca52660b036ca92de057ea | |
parent | 95dcf8350dc889e735d03c0debe2f7b26d243185 [diff] |
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>