diff options
author | Jens Axboe <[email protected]> | 2018-10-21 12:02:36 -0600 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2018-10-21 12:05:43 -0600 |
commit | 52990a5fb0c991ecafebdab43138b5ed41376852 (patch) | |
tree | 603bf219be3f540c2d0b7e0b43d3a16fe8991c78 /lib/memory-notifier-error-inject.c | |
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: [email protected]
Reported-by: Ondrej Zary <[email protected]>
Tested-by: Ondrej Zary <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions