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
- Lines: 13
- Date:
Wed Feb 28 08:42:33 1996
- Orig file:
v1.3.69/linux/include/linux/genhd.h
- Orig date:
Wed Nov 8 07:11:41 1995
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