dm - add remove_all, refactor
authorAlex Hornung <ahornung@gmail.com>
Mon, 13 Dec 2010 18:17:08 +0000 (18:17 +0000)
committerAlex Hornung <ahornung@gmail.com>
Mon, 13 Dec 2010 21:48:31 +0000 (21:48 +0000)
commit9fada28acfffd04235bc0396c7244d25df88b68c
treefba6ede98437001654c4d8b0ea17c42ab13b9cf9
parent04d990835f41c5375a923112a2ded56651feb828
dm - add remove_all, refactor

* Refactor the dm dev creation and removal methods as to avoid
  duplication and, as a bonus, do things properly.

* Rename foo_destroy to foo_uninit, because that's what they really are,
  uninit functions.

* Add an experimental 'remove_all' method

* Move atoi64 into device-mapper so that the striped target works
  without loading the linear target.
sys/dev/disk/dm/device-mapper.c
sys/dev/disk/dm/dm.h
sys/dev/disk/dm/dm_dev.c
sys/dev/disk/dm/dm_ioctl.c
sys/dev/disk/dm/dm_pdev.c
sys/dev/disk/dm/dm_target.c
sys/dev/disk/dm/targets/linear/dm_target_linear.c