aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2005-06-21 00:15:16 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2006-06-26 15:25:06 -0400
commit1a715c5cf917326a285533d1116d725f5f2593c2 (patch)
tree23833b5463940023bd4074a3a465c245adaff9fa /fs
parent79021a625c36162d24c852bbbdb04f0c1cb32db3 (diff)
[PATCH] devfs: Remove devfs_mk_bdev() function from the kernel tree
Removes the devfs_mk_bdev() function and all callers of it. Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'fs')
-rw-r--r--fs/partitions/check.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/fs/partitions/check.c b/fs/partitions/check.c
index 2ab7701eb2fb..d7a5078b3d75 100644
--- a/fs/partitions/check.c
+++ b/fs/partitions/check.c
@@ -342,10 +342,6 @@ void add_partition(struct gendisk *disk, int part, sector_t start, sector_t len)
342 p->nr_sects = len; 342 p->nr_sects = len;
343 p->partno = part; 343 p->partno = part;
344 344
345 devfs_mk_bdev(MKDEV(disk->major, disk->first_minor + part),
346 S_IFBLK|S_IRUSR|S_IWUSR,
347 "%s/part%d", disk->devfs_name, part);
348
349 if (isdigit(disk->kobj.name[strlen(disk->kobj.name)-1])) 345 if (isdigit(disk->kobj.name[strlen(disk->kobj.name)-1]))
350 snprintf(p->kobj.name,KOBJ_NAME_LEN,"%sp%d",disk->kobj.name,part); 346 snprintf(p->kobj.name,KOBJ_NAME_LEN,"%sp%d",disk->kobj.name,part);
351 else 347 else