aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorAlasdair G Kergon <[email protected]>2009-04-02 19:55:28 +0100
committerAlasdair G Kergon <[email protected]>2009-04-02 19:55:28 +0100
commit570b9d968bf9b16974252ef7cbce73fa6dac34f3 (patch)
tree1a356ada71b373b363f9fc2204769f8eee920f30 /tools/perf/scripts/python/bin
parentaea9058801c0acfa2831af1714da412dfb0018c2 (diff)
dm table: fix upgrade mode race
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]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions