summaryrefslogtreecommitdiff
path: root/ext2fs/ext2fs.h
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1996-09-23 17:37:40 +0000
committerMiles Bader <miles@gnu.org>1996-09-23 17:37:40 +0000
commit4aa13a819cb11bf5fe1b80e0758db5d280721ccb (patch)
treed80ea4b6c43da19ae148905b63328d537a44ff2e /ext2fs/ext2fs.h
parent90d22ae2c45839cbb30a97d51f9fa9775facf1b3 (diff)
(sync_global_ptr):
Use DISKFS_DISK_PAGER instead of DISK_PAGER. (store): New declaration. (disk_image): New declaration. (get_page_buf, free_page_buf): Declarations removed. (store_parsed, store_name): New declarations.
Diffstat (limited to 'ext2fs/ext2fs.h')
-rw-r--r--ext2fs/ext2fs.h21
1 files changed, 10 insertions, 11 deletions
diff --git a/ext2fs/ext2fs.h b/ext2fs/ext2fs.h
index ceee9093..b84fe646 100644
--- a/ext2fs/ext2fs.h
+++ b/ext2fs/ext2fs.h
@@ -221,6 +221,14 @@ void flush_node_pager (struct node *node);
/* ---------------------------------------------------------------- */
+/* The physical media. */
+extern struct store *store;
+/* What the user specified. */
+extern struct store_parsed *store_parsed;
+
+/* Mapped image of the disk. */
+extern void *disk_image;
+
/* Our in-core copy of the super-block. */
struct ext2_super_block *sblock;
/* True if sblock has been modified. */
@@ -236,8 +244,7 @@ unsigned long block_size;
/* The log base 2 of BLOCK_SIZE. */
unsigned log2_block_size;
-/* log2 of the number of device blocks (DISKFS_DEVICE_BLOCK_SIZE) in a
- filesystem block (BLOCK_SIZE). */
+/* log2 of the number of device blocks in a filesystem block. */
unsigned log2_dev_blocks_per_fs_block;
/* log2 of the number of stat blocks (512 bytes) in a filesystem block. */
@@ -250,14 +257,6 @@ vm_address_t zeroblock;
void get_hypermetadata ();
/* ---------------------------------------------------------------- */
-
-/* Returns a single page page-aligned buffer. */
-vm_address_t get_page_buf ();
-
-/* Frees a block returned by get_page_buf. */
-void free_page_buf (vm_address_t buf);
-
-/* ---------------------------------------------------------------- */
/* Random stuff calculated from the super block. */
unsigned long frag_size; /* Size of a fragment in bytes */
@@ -388,7 +387,7 @@ sync_global_ptr (void *bptr, int wait)
{
vm_offset_t boffs = trunc_block (bptr_offs (bptr));
global_block_modified (boffs_block (boffs));
- pager_sync_some (disk_pager, trunc_page (boffs), vm_page_size, wait);
+ pager_sync_some (diskfs_disk_pager, trunc_page (boffs), vm_page_size, wait);
}
/* This records a modification to one of a file's indirect blocks. */