summaryrefslogtreecommitdiffstats
path: root/include/asm-ppc64
diff options
context:
space:
mode:
authorAlasdair G Kergon <agk@redhat.com>2005-09-27 21:45:45 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2005-09-28 07:46:42 -0700
commit485ef69edefd7fc7f351c94d0d77b3ed8a242f7b (patch)
tree597d4529ae29a56fe433399ce840d3cdce7b1680 /include/asm-ppc64
parent269fd2a6f84828fd96218d164dace8c413fa5c03 (diff)
downloadop-kernel-dev-485ef69edefd7fc7f351c94d0d77b3ed8a242f7b.zip
op-kernel-dev-485ef69edefd7fc7f351c94d0d77b3ed8a242f7b.tar.gz
[PATCH] device-mapper: Fix queue_if_no_path initialisation
When creating a multipath device, if the queue_if_no_path parameter is specified it gets ignored. While the queue_if_no_path variable is correctly set to 1, the saved_queue_if_no_path gets set to 0. When the device is subsequently made live (resumed), the saved value (0) always overwrites the live value (1) so the option *always* gets turned off. The fix adds a parameter to the queue_if_no_path() function to indicate whether the previous value should be preserved or not - if not, as when the device is being set up, the saved value is set to the new value (1). Signed-Off-By: Alasdair G Kergon <agk@redhat.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-ppc64')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud