summaryrefslogtreecommitdiff
path: root/include/linux/genhd.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@athlon.transmeta.com>2002-02-04 20:14:29 -0800
committerLinus Torvalds <torvalds@athlon.transmeta.com>2002-02-04 20:14:29 -0800
commit70a8be476e663526c3cb17a157c17ccf4fca5bd4 (patch)
tree9cb7529d5c1d7e7d90a21b1a6c9f6133fbbb0511 /include/linux/genhd.h
parent1c3cefa582a6b598d204bad02676df300e457efa (diff)
v2.4.9.5 -> v2.4.9.6
- Jens Axboe: remove trivially dead io_request_lock usage - Andrea Arcangeli: softirq cleanup and ARM fixes. Slab cleanups - Christoph Hellwig: gendisk handling helper functions/cleanups - Nikita Danilov: reiserfs dead code pruning - Anton Altaparmakov: NTFS update to 1.1.18 - firestream network driver: patch reverted on authors request - NIIBE Yutaka: SH architecture update - Paul Mackerras: PPC cleanups, PPC8xx update. - me: reverse broken bootdata allocation patch that went into pre5
Diffstat (limited to 'include/linux/genhd.h')
-rw-r--r--include/linux/genhd.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/include/linux/genhd.h b/include/linux/genhd.h
index 8924c4b62c10..147e67fbdd6e 100644
--- a/include/linux/genhd.h
+++ b/include/linux/genhd.h
@@ -74,6 +74,14 @@ struct gendisk {
devfs_handle_t *de_arr; /* one per physical disc */
char *flags; /* one per physical disc */
};
+
+/* drivers/block/genhd.c */
+extern struct gendisk *gendisk_head;
+
+extern void add_gendisk(struct gendisk *gp);
+extern void del_gendisk(struct gendisk *gp);
+extern struct gendisk *get_gendisk(kdev_t dev);
+
#endif /* __KERNEL__ */
#ifdef CONFIG_SOLARIS_X86_PARTITION
@@ -230,7 +238,6 @@ struct unixware_disklabel {
#endif /* CONFIG_MINIX_SUBPARTITION */
#ifdef __KERNEL__
-extern struct gendisk *gendisk_head; /* linked list of disks */
char *disk_name (struct gendisk *hd, int minor, char *buf);