patch-2.4.11-dontuse linux/fs/partitions/check.h
Next file: linux/fs/partitions/ibm.c
Previous file: linux/fs/partitions/check.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Mon Oct 1 20:03:26 2001
- Orig file:
v2.4.10/linux/fs/partitions/check.h
- Orig date:
Wed Feb 16 15:42:06 2000
diff -u --recursive --new-file v2.4.10/linux/fs/partitions/check.h linux/fs/partitions/check.h
@@ -4,9 +4,13 @@
*/
void add_gd_partition(struct gendisk *hd, int minor, int start, int size);
-/*
- * Get the default block size for this device
- */
-unsigned int get_ptable_blocksize(kdev_t dev);
+typedef struct {struct page *v;} Sector;
+
+unsigned char *read_dev_sector(struct block_device *, unsigned long, Sector *);
+
+static inline void put_dev_sector(Sector p)
+{
+ page_cache_release(p.v);
+}
extern int warn_no_part;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)