diff options
| author | Neil Brown <neilb@cse.unsw.edu.au> | 2002-06-18 04:16:49 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.transmeta.com> | 2002-06-18 04:16:49 -0700 |
| commit | 932db78f92b35676e1ff4ab90a1c046cbb940294 (patch) | |
| tree | 49de61f59275e99142c03e1fcb706161c6b1ee00 /include/linux/raid/md.h | |
| parent | 8892097cf216b110819a427a9bc639c2b7437eb9 (diff) | |
[PATCH] md 12 of 22 - Remove "data" from dev_mapping and tidy up
The mapping from minor number to mddev structure allows for a
'data' that is never used. This patch removes that and explicitly
inlines some inline functions that become trivial.
mddev_map also becomes completely local to md.c
Diffstat (limited to 'include/linux/raid/md.h')
| -rw-r--r-- | include/linux/raid/md.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/raid/md.h b/include/linux/raid/md.h index c5516ee0c732..5d450aaf13d1 100644 --- a/include/linux/raid/md.h +++ b/include/linux/raid/md.h @@ -63,8 +63,6 @@ extern int md_size[MAX_MD_DEVS]; extern struct hd_struct md_hd_struct[MAX_MD_DEVS]; -extern void add_mddev_mapping (mddev_t *mddev, kdev_t dev, void *data); -extern void del_mddev_mapping (mddev_t *mddev, kdev_t dev); extern char * partition_name (kdev_t dev); extern inline char * bdev_partition_name (struct block_device *bdev) { |
