diff options
author | Mike Christie <michaelc@cs.wisc.edu> | 2013-03-01 22:45:48 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-03-14 18:26:11 (GMT) |
commit | 6d2c84a053b338cb932d497b425cdc18845732f5 (patch) | |
tree | 518d26ec82e47ffa27dec8748ec0d6106636c36c /drivers/scsi/aic7xxx | |
parent | f7ed89f011514839a5935629f27042edb2fdc981 (diff) | |
download | linux-fsl-qoriq-6d2c84a053b338cb932d497b425cdc18845732f5.tar.xz |
dm: fix limits initialization when there are no data devices
commit 87eb5b21d92a92ac2da3163039d62df88c2b8422 upstream.
dm_calculate_queue_limits will first reset the provided limits to
defaults using blk_set_stacking_limits; whereby defeating the purpose of
retaining the original live table's limits -- as was intended via commit
3ae706561637331aa578e52bb89ecbba5edcb7a9 ("dm: retain table limits when
swapping to new table with no devices").
Fix this improper limits initialization (in the no data devices case) by
avoiding the call to dm_calculate_queue_limits.
[patch header revised by Mike Snitzer]
Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/scsi/aic7xxx')
0 files changed, 0 insertions, 0 deletions