commit | 52990a5fb0c991ecafebdab43138b5ed41376852 | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@kernel.dk> | Sun Oct 21 12:02:36 2018 -0600 |
committer | Jens Axboe <axboe@kernel.dk> | Sun Oct 21 12:05:43 2018 -0600 |
tree | 603bf219be3f540c2d0b7e0b43d3a16fe8991c78 | |
parent | d459d853c2edc793135e4bfa4e345c758f1cc859 [diff] |
block: setup bounce bio_sets properly We're only setting up the bounce bio sets if we happen to need bouncing for regular HIGHMEM, not if we only need it for ISA devices. Protect the ISA bounce setup with a mutex, since it's being invoked from driver init functions and can thus be called in parallel. Cc: stable@vger.kernel.org Reported-by: Ondrej Zary <linux@rainbow-software.org> Tested-by: Ondrej Zary <linux@rainbow-software.org> Signed-off-by: Jens Axboe <axboe@kernel.dk>