* Copyright (C) 1997 Theodore Ts'o.
*
* %Begin-Header%
- * This file may be redistributed under the terms of the GNU Public
- * License.
+ * This file may be redistributed under the terms of the GNU Library
+ * General Public License, version 2.
* %End-Header%
*/
struct ext2_struct_dblist {
int magic;
ext2_filsys fs;
- ext2_ino_t size;
- ext2_ino_t count;
+ unsigned long long size;
+ unsigned long long count;
int sorted;
- struct ext2_db_entry * list;
+ struct ext2_db_entry2 * list;
};
/*
/* Function prototypes */
extern int ext2fs_process_dir_block(ext2_filsys fs,
- blk_t *blocknr,
+ blk64_t *blocknr,
e2_blkcnt_t blockcnt,
- blk_t ref_block,
+ blk64_t ref_block,
int ref_offset,
void *priv_data);
extern errcode_t ext2fs_get_generic_bmap_range(ext2fs_generic_bitmap bitmap,
__u64 start, unsigned int num,
void *out);
+extern void ext2fs_warn_bitmap32(ext2fs_generic_bitmap bitmap,const char *func);
+
extern int ext2fs_mem_is_zero(const char *mem, size_t len);