commit | 87968ddd2f3be1c21b932cac30157a83a1c4f935 | [log] [tgz] |
---|---|---|
author | Mikulas Patocka <mpatocka@redhat.com> | Thu Dec 10 23:52:04 2009 +0000 |
committer | Alasdair G Kergon <agk@redhat.com> | Thu Dec 10 23:52:04 2009 +0000 |
tree | f4d4caa4ec52f697ed5745a88322d3620cf7ee0a | |
parent | 0f398a8403e31c737b429fddc3850093d0bf58d0 [diff] |
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>