diff options
| author | Andrew Morton <akpm@digeo.com> | 2003-01-14 00:20:18 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.transmeta.com> | 2003-01-14 00:20:18 -0800 |
| commit | 42f834c3df4fbd9ca503942555d26ecf9d28e8f7 (patch) | |
| tree | 4bc989bc44023b492aeecd9caf848f83262a625f /include/linux | |
| parent | 9552d6bcc66126252565555d137ff5e5e45cb959 (diff) | |
[PATCH] ext3 ino_t removal
Patch from Andreas Dilger <adilger@clusterfs.com>
This patch against 2.5.53 removes my erronous use of ino_t in a couple of
places in the ext3 code. This has been replaced with unsigned long (the same
as is used for inode->i_ino). This patch matches the fix submitted to 2.4
for fixing 64-bit compiler warnings, and also replaces a couple of %ld with
%lu to forestall output wierdness with filesystems with a few billion inodes.
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/ext3_fs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/ext3_fs.h b/include/linux/ext3_fs.h index f909a967778e..0612ce8e8274 100644 --- a/include/linux/ext3_fs.h +++ b/include/linux/ext3_fs.h @@ -707,7 +707,7 @@ extern int ext3fs_dirhash(const char *name, int len, struct /* ialloc.c */ extern struct inode * ext3_new_inode (handle_t *, struct inode *, int); extern void ext3_free_inode (handle_t *, struct inode *); -extern struct inode * ext3_orphan_get (struct super_block *, ino_t); +extern struct inode * ext3_orphan_get (struct super_block *, unsigned long); extern unsigned long ext3_count_free_inodes (struct super_block *); extern unsigned long ext3_count_dirs (struct super_block *); extern void ext3_check_inodes_bitmap (struct super_block *); |
