summaryrefslogtreecommitdiff
path: root/ext2fs/ext2fs.h
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1999-08-23 04:02:02 +0000
committerRoland McGrath <roland@gnu.org>1999-08-23 04:02:02 +0000
commitcd9611ba19e6dd63d767128fe84003f4ddf5634d (patch)
tree48f65eb1ea4dc84622fb24433b282bc26d47e0fc /ext2fs/ext2fs.h
parentfafaeb9b5d0b835b4b17a7d5f347be60e2ab5e5a (diff)
1999-08-23 Roland McGrath <roland@baalperazim.frob.com>
* ext2_fs.h, ext2_fs_i.h: Replaced with Linux 2.3.14 versions. * ext2fs.h (i_mode_high): New macro, missing from ext_fs.h.
Diffstat (limited to 'ext2fs/ext2fs.h')
-rw-r--r--ext2fs/ext2fs.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/ext2fs/ext2fs.h b/ext2fs/ext2fs.h
index 55f3abec..2066cd28 100644
--- a/ext2fs/ext2fs.h
+++ b/ext2fs/ext2fs.h
@@ -42,6 +42,9 @@ typedef int8_t __s8;
#include "ext2_fs.h"
#include "ext2_fs_i.h"
+#define i_mode_high osd2.hurd2.h_i_mode_high /* missing from ext2_fs.h */
+
+
/* If ext2_fs.h defined a debug routine, undef it and use our own. */
#undef ext2_debug
@@ -433,7 +436,9 @@ void ext2_discard_prealloc (struct node *node);
otherwise EINVAL is returned. */
error_t ext2_getblk (struct node *node, block_t block, int create, block_t *disk_block);
-block_t ext2_new_block (block_t goal, block_t *prealloc_count, block_t *prealloc_block);
+block_t ext2_new_block (block_t goal,
+ block_t prealloc_goal,
+ block_t *prealloc_count, block_t *prealloc_block);
void ext2_free_blocks (block_t block, unsigned long count);