]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - drivers/md/dm-table.c
dm ioctl: refactor dm_table_complete
authorWill Drewry <wad@chromium.org>
Thu, 12 Aug 2010 03:14:03 +0000 (04:14 +0100)
committerAlasdair G Kergon <agk@redhat.com>
Thu, 12 Aug 2010 03:14:03 +0000 (04:14 +0100)
commit26803b9f06d365122fae82e7554a66ef8278e0bb
tree83f77be2b09bbaa6d97105509d54955b2eec7147
parentb1d5552838334c600b068c9c8cc18638e5a8cb47
dm ioctl: refactor dm_table_complete

This change unifies the various checks and finalization that occurs on a
table prior to use.  By doing so, it allows table construction without
traversing the dm-ioctl interface.

Signed-off-by: Will Drewry <wad@chromium.org>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
drivers/md/dm-ioctl.c
drivers/md/dm-table.c
drivers/md/dm.h