-
Mikulas Patocka authored
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>
87968ddd