patch-1.3.70 linux/include/linux/genhd.h

Next file: linux/include/linux/if_arp.h
Previous file: linux/include/linux/atalk.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.69/linux/include/linux/genhd.h linux/include/linux/genhd.h
@@ -66,4 +66,12 @@
 
 extern struct gendisk *gendisk_head;	/* linked list of disks */
 
+/*
+ * disk_name() is used by genhd.c and md.c.
+ * It formats the devicename of the indicated disk
+ * into the supplied buffer, and returns a pointer
+ * to that same buffer (for convenience).
+ */
+char *disk_name (struct gendisk *hd, int minor, char *buf);
+
 #endif

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this