]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit948b4c0f72c11a4c2bc5ec17bc81ee81be49ea00
tree83f77be2b09bbaa6d97105509d54955b2eec7147
parente9bf23c1a9ee46a2f75362a451152e8f7ec1c115
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