Mikulas Patocka 87968ddd2f dm raid1: abstract get_valid_mirror function
Move the logic to get a valid mirror leg into a function for re-use
in a later patch.

Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Reviewed-by: Takahiro Yasui <tyasui@redhat.com>
Tested-by: Takahiro Yasui <tyasui@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
2009-12-10 23:52:04 +00:00
..
2006-01-01 22:21:50 +01:00
2009-12-10 23:51:52 +00:00
2009-04-09 00:27:17 +01:00
2009-12-10 23:51:59 +00:00
2009-09-14 08:24:52 +02:00
2009-09-04 20:40:25 +01:00
2009-12-10 23:51:52 +00:00
2007-10-20 02:01:26 +01:00
2009-12-10 23:51:57 +00:00
2009-12-10 23:51:57 +00:00
2009-03-31 14:57:37 +11:00