]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] dm: multipath: fix rr_add_path order
authorJonathan E Brassow <jbrassow@redhat.com>
Thu, 9 Nov 2006 01:44:43 +0000 (17:44 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Thu, 9 Nov 2006 02:29:23 +0000 (18:29 -0800)
commit4ea6905f592df708dc9575e31f4f2ef5e7bdbbc1
tree55a1bf7e05a9b319ca0ab5a95a72df6b929147f8
parent1c86f66821c61d267ca39bfa6444f0d7b8daa360
[PATCH] dm: multipath: fix rr_add_path order

When adding paths to the round-robin path selector, their order gets inverted,
which is not desirable.

Fix by replacing list_add() with list_add_tail().

Signed-off-by: Jonathan E Brassow <jbrassow@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Cc: <dm-devel@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/md/dm-round-robin.c