summaryrefslogtreecommitdiff
path: root/ext2fs
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1996-01-04 23:46:18 +0000
committerRoland McGrath <roland@gnu.org>1996-01-04 23:46:18 +0000
commit09fc4fc675eda08485e215fc23b7c3aa72d51913 (patch)
treea29acbdb1b186f6452cd6ade5d09de4a568e303d /ext2fs
parenta91d6435e768454b58ede490600ecb07a3def80d (diff)
(disk_pager, disk_pager_port, disk_image, create_disk_pager): Decls removed.
Include hurd/diskfs-pager.h instead.
Diffstat (limited to 'ext2fs')
-rw-r--r--ext2fs/ext2fs.h19
1 files changed, 7 insertions, 12 deletions
diff --git a/ext2fs/ext2fs.h b/ext2fs/ext2fs.h
index 321d4b9b..7897ead8 100644
--- a/ext2fs/ext2fs.h
+++ b/ext2fs/ext2fs.h
@@ -1,6 +1,6 @@
/* Common definitions for the ext2 filesystem translator
- Copyright (C) 1995 Free Software Foundation, Inc.
+ Copyright (C) 1995, 1996 Free Software Foundation, Inc.
Written by Miles Bader <miles@gnu.ai.mit.edu>
@@ -46,7 +46,7 @@ typedef u32 block_t;
/* ---------------------------------------------------------------- */
-struct poke
+struct poke
{
vm_offset_t offset;
vm_size_t length;
@@ -134,7 +134,7 @@ void *memscan(void *buf, unsigned char ch, unsigned len);
/* ---------------------------------------------------------------- */
/* ext2fs specific per-file data. */
-struct disknode
+struct disknode
{
/* The inode number of this file. */
ino_t number;
@@ -167,11 +167,11 @@ struct disknode
consistent on-disk state, but delaying it can improveme allocation, and
it's an inconsistency easily fixed by fsck. */
int last_block_allocated;
-};
+};
-struct user_pager_info
+struct user_pager_info
{
- enum pager_type
+ enum pager_type
{
DISK,
FILE_DATA,
@@ -183,12 +183,7 @@ struct user_pager_info
/* ---------------------------------------------------------------- */
/* pager.c */
-struct pager *disk_pager;
-mach_port_t disk_pager_port;
-void *disk_image;
-
-/* Create the global disk pager. */
-void create_disk_pager ();
+#include <hurd/diskfs-pager.h>
/* Call this when we should turn off caching so that unused memory object
ports get freed. */