dm switch: factor out switch_region_table_read
authorMikulas Patocka <mpatocka@redhat.com>
Mon, 28 Jul 2014 21:49:41 +0000 (17:49 -0400)
committerMike Snitzer <snitzer@redhat.com>
Fri, 1 Aug 2014 16:30:36 +0000 (12:30 -0400)
Move code that reads the table to a switch_region_table_read.
It will be needed for the next commit.  No functional change.

Tested-by: Jay Wang <jwang@nimblestorage.com>
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>

No differences found