[PATCH] dm: tidy mdptr
Change dm_get_mdptr() to take a struct mapped_device instead of dev_t. 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>
This commit is contained in:
committed by
Linus Torvalds
parent
7e51f257e8
commit
9ade92a9a5
@@ -47,7 +47,7 @@ struct mapped_device;
|
||||
int dm_create(struct mapped_device **md);
|
||||
int dm_create_with_minor(unsigned int minor, struct mapped_device **md);
|
||||
void dm_set_mdptr(struct mapped_device *md, void *ptr);
|
||||
void *dm_get_mdptr(dev_t dev);
|
||||
void *dm_get_mdptr(struct mapped_device *md);
|
||||
struct mapped_device *dm_get_md(dev_t dev);
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user