Mike Christie 87eb5b21d9 dm: fix limits initialization when there are no data devices
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>
Cc: stable@vger.kernel.org # v3.6+
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
2013-03-01 22:45:48 +00:00
..
2013-02-22 23:31:31 -05:00
2012-03-28 18:41:29 +01:00
2013-03-01 22:45:44 +00:00
2012-07-30 17:25:16 -07:00
2013-03-01 22:45:47 +00:00
2013-03-01 22:45:47 +00:00
2013-03-01 22:45:44 +00:00
2013-03-01 22:45:47 +00:00
2012-12-21 20:23:38 +00:00
2012-10-22 10:44:55 +11:00
2013-03-01 22:45:46 +00:00
2012-10-11 13:08:44 +11:00
2012-12-18 09:32:44 -08:00
2012-12-18 09:32:44 -08:00
2012-10-11 13:25:44 +11:00
2012-10-11 13:49:05 +11:00