]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commit5d55fdf94998db1df9ee7f1def8806bfd0e5ff73
tree55a1bf7e05a9b319ca0ab5a95a72df6b929147f8
parentd287483d6d7a2d5b313aee155285f89b57d9cd4a
[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