summaryrefslogtreecommitdiff
path: root/include/linux/raid/md.h
diff options
context:
space:
mode:
authorAlexander Viro <viro@math.psu.edu>2002-09-21 02:50:56 -0700
committerLinus Torvalds <torvalds@home.transmeta.com>2002-09-21 02:50:56 -0700
commitceb1ee4c055c9a0debecf2b1759b70ce65abf27d (patch)
treec9de7bf3ec55bd67cf513cf7e8aa6958cba40086 /include/linux/raid/md.h
parentbc2ce86fdce2b62a9de49c4f893de76215ee312d (diff)
[PATCH] removal of bogus exports
partition_name() moved from md.c to partitions/check.c; disk_name() is not exported anymore; partition_name() takes dev_t instead of kdev_t.
Diffstat (limited to 'include/linux/raid/md.h')
-rw-r--r--include/linux/raid/md.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/raid/md.h b/include/linux/raid/md.h
index f95cdf658a39..e8acacc1adb2 100644
--- a/include/linux/raid/md.h
+++ b/include/linux/raid/md.h
@@ -62,10 +62,9 @@
extern int md_size[MAX_MD_DEVS];
-extern char * partition_name (kdev_t dev);
extern inline char * bdev_partition_name (struct block_device *bdev)
{
- return partition_name(bdev ? to_kdev_t(bdev->bd_dev) : NODEV);
+ return partition_name(bdev ? bdev->bd_dev : 0);
}
extern int register_md_personality (int p_num, mdk_personality_t *p);
extern int unregister_md_personality (int p_num);