cleanup
[linux-2.4.21-pre4.git] / fs / partitions / check.h
1 /*
2  * add_partition adds a partitions details to the devices partition
3  * description.
4  */
5 void add_gd_partition(struct gendisk *hd, int minor, int start, int size);
6
7 typedef struct {struct page *v;} Sector;
8
9 unsigned char *read_dev_sector(struct block_device *, unsigned long, Sector *);
10
11 static inline void put_dev_sector(Sector p)
12 {
13         page_cache_release(p.v);
14 }
15
16 extern int warn_no_part;