[lkml]   [2000]   [Nov]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: RFC: Modularize /proc/partitons (was Re: /proc/partitions for LVM)

[Brian Kress]
> 1) Add a function pointer to struct gendisk called hd_name.
> 2) Make disk_name in fs/partitions/check.c use that function
> pointer if its non-null.
> 3) Change the following drivers to use this method. (adding the
> driver specific method and removing the old code in check.c)

Looks good to me ... except that cpqarray.c, cciss.c and DAC960.c have
basically duplicate functions. Would this be a net win:

char *typical_disk_name(struct gendisk *, int major_base, int minor, char *buf);

...exported from check.c?

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 12:47    [W:0.035 / U:1.568 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site