OSDN Git Service

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)
commit99eb1908e643609e83454c6fbcbb59f9055abf09
treedd48bfd8f2521f35b75e839502727d76a91b6481
parentb02465308f13f3266480275fd143747bfd441a2f
dm switch: factor out switch_region_table_read

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>
drivers/md/dm-switch.c