]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
dm: remove md argument from specific_minor
authorFrederik Deweerdt <frederik.deweerdt@gmail.com>
Thu, 24 Apr 2008 21:10:59 +0000 (22:10 +0100)
committerAlasdair G Kergon <agk@redhat.com>
Fri, 25 Apr 2008 12:27:02 +0000 (13:27 +0100)
commitcf13ab8e02d452e2236d0b5fda9972b3b7f503cb
tree135509aa2852deebba7b4a81cdafc2a2ee2e358f
parent4fdfe401e9d7e30029972d568c667234c0c1d828
dm: remove md argument from specific_minor

The small patch below:
- Removes the unused md argument from both specific_minor() and next_free_minor()
- Folds kmalloc + memset(0) into a single kzalloc call in alloc_dev()

This has been compile tested on x86.

Signed-off-by: Frederik Deweerdt <frederik.deweerdt@gmail.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
drivers/md/dm.c