dm table: clean dm_get_device and move exports
authorMike Snitzer <snitzer@redhat.com>
Tue, 2 Aug 2011 11:32:04 +0000 (12:32 +0100)
committerAlasdair G Kergon <agk@redhat.com>
Tue, 2 Aug 2011 11:32:04 +0000 (12:32 +0100)
commit08649012545cfb116798260352547cf4d47064ec
tree8aa7eac4b53a07a9bdcb01ed2da11e250c823187
parent3e8dbb7f3966c80d77272f8b4f430babc99f6595
dm table: clean dm_get_device and move exports

There is no need for __table_get_device to be factored out.
Also move the exports to the end of their respective functions.

Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
drivers/md/dm-table.c