Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
upgrade_mode() sets bdev to NULL temporarily, and does not have any locking to exclude anything from seeing that NULL. In dm_table_any_congested() bdev_get_queue() can dereference that NULL and cause a reported oops. Fix this by not changing that field during the mode upgrade. Cc: [email protected] Cc: Neil Brown <[email protected]> Signed-off-by: Alasdair G Kergon <[email protected]>
- Loading branch information