]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - drivers/md/dm-ioctl.c
[PATCH] dm: consolidate creation functions
authorAlasdair G Kergon <agk@redhat.com>
Mon, 26 Jun 2006 07:27:32 +0000 (00:27 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 26 Jun 2006 16:58:36 +0000 (09:58 -0700)
commit2b06cfff12f0f87c4bc4d4c4dd76997e72c360ba
tree68e9085593ef64b78a60daec94898e620bf716c3
parent814d68629b40e863997fa0eea459be4cc99a06cc
[PATCH] dm: consolidate creation functions

Merge dm_create() and dm_create_with_minor() by introducing the special value
DM_ANY_MINOR to request the allocation of the next available minor number.

Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/md/dm-ioctl.c
drivers/md/dm.c
drivers/md/dm.h