diff options
| author | Bruce Evans <bde@FreeBSD.org> | 1998-10-13 15:45:43 +0000 |
|---|---|---|
| committer | Bruce Evans <bde@FreeBSD.org> | 1998-10-13 15:45:43 +0000 |
| commit | d2165c2f7d8bf2783caa37e8e1e25610740e04fe (patch) | |
| tree | b099640f34250d94ccd25e8274264aa1986fa096 /sys/gnu | |
| parent | 202bab39443927344a530fc91a945eb062046fb0 (diff) | |
Notes
Diffstat (limited to 'sys/gnu')
| -rw-r--r-- | sys/gnu/ext2fs/ext2_extern.h | 4 | ||||
| -rw-r--r-- | sys/gnu/ext2fs/ext2_fs.h | 4 | ||||
| -rw-r--r-- | sys/gnu/ext2fs/ext2_linux_balloc.c | 4 | ||||
| -rw-r--r-- | sys/gnu/ext2fs/inode.h | 4 | ||||
| -rw-r--r-- | sys/gnu/fs/ext2fs/ext2_extern.h | 4 | ||||
| -rw-r--r-- | sys/gnu/fs/ext2fs/ext2_fs.h | 4 | ||||
| -rw-r--r-- | sys/gnu/fs/ext2fs/ext2_linux_balloc.c | 4 | ||||
| -rw-r--r-- | sys/gnu/fs/ext2fs/inode.h | 4 |
8 files changed, 16 insertions, 16 deletions
diff --git a/sys/gnu/ext2fs/ext2_extern.h b/sys/gnu/ext2fs/ext2_extern.h index eb1834867c43..0afd890403a1 100644 --- a/sys/gnu/ext2fs/ext2_extern.h +++ b/sys/gnu/ext2fs/ext2_extern.h @@ -81,8 +81,8 @@ struct ext2_group_desc * get_group_desc __P((struct mount * , void ext2_discard_prealloc __P((struct inode *)); int ext2_inactive __P((struct vop_inactive_args *)); int ext2_new_block __P ((struct mount * mp, unsigned long goal, - int * prealloc_count, - int * prealloc_block)); + u_int32_t * prealloc_count, + u_int32_t * prealloc_block)); ino_t ext2_new_inode __P ((const struct inode * dir, int mode)); unsigned long ext2_count_free __P((struct buf *map, unsigned int numchars)); void ext2_free_blocks __P((struct mount * mp, unsigned long block, diff --git a/sys/gnu/ext2fs/ext2_fs.h b/sys/gnu/ext2fs/ext2_fs.h index 655a9df313e7..ce45bbd94397 100644 --- a/sys/gnu/ext2fs/ext2_fs.h +++ b/sys/gnu/ext2fs/ext2_fs.h @@ -38,7 +38,7 @@ /* the Linux implementation of EXT2 stores some information about * an inode in a ext2_inode_info structure which is part of the incore * inode in Linux - * I decided to use the i_spare[11] fields instead - we'll see how this + * I decided to use the "spare" fields instead - we'll see how this * works out */ @@ -46,7 +46,7 @@ #define i_next_alloc_block i_spare[1] #define i_next_alloc_goal i_spare[2] #define i_prealloc_block i_spare[3] -#define i_prealloc_count i_spare[4] +#define i_prealloc_count i_din.di_spare[0] /* * The second extended filesystem constants/structures diff --git a/sys/gnu/ext2fs/ext2_linux_balloc.c b/sys/gnu/ext2fs/ext2_linux_balloc.c index 717b0e03a81f..56ea6529d347 100644 --- a/sys/gnu/ext2fs/ext2_linux_balloc.c +++ b/sys/gnu/ext2fs/ext2_linux_balloc.c @@ -244,8 +244,8 @@ void ext2_free_blocks (struct mount * mp, unsigned long block, * bitmap, and then for any free bit if that fails. */ int ext2_new_block (struct mount * mp, unsigned long goal, - int * prealloc_count, - int * prealloc_block) + u_int32_t * prealloc_count, + u_int32_t * prealloc_block) { struct ext2_sb_info *sb = VFSTOUFS(mp)->um_e2fs; struct buffer_head * bh; diff --git a/sys/gnu/ext2fs/inode.h b/sys/gnu/ext2fs/inode.h index 76b7b5e2c27e..4b6ca7dfc3eb 100644 --- a/sys/gnu/ext2fs/inode.h +++ b/sys/gnu/ext2fs/inode.h @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * @(#)inode.h 8.9 (Berkeley) 5/14/95 - * $Id: inode.h,v 1.22 1998/03/26 20:53:58 phk Exp $ + * $Id: inode.h,v 1.23 1998/07/03 22:17:01 bde Exp $ */ #ifndef _UFS_UFS_INODE_H_ @@ -92,7 +92,7 @@ struct inode { doff_t i_offset; /* Offset of free space in directory. */ ino_t i_ino; /* Inode number of found directory. */ u_int32_t i_reclen; /* Size of found directory entry. */ - int i_spare[5]; /* XXX actually non-spare (for ext2fs). */ + u_int32_t i_spare[4]; /* XXX actually non-spare (for ext2fs). */ /* * The on-disk dinode itself. */ diff --git a/sys/gnu/fs/ext2fs/ext2_extern.h b/sys/gnu/fs/ext2fs/ext2_extern.h index eb1834867c43..0afd890403a1 100644 --- a/sys/gnu/fs/ext2fs/ext2_extern.h +++ b/sys/gnu/fs/ext2fs/ext2_extern.h @@ -81,8 +81,8 @@ struct ext2_group_desc * get_group_desc __P((struct mount * , void ext2_discard_prealloc __P((struct inode *)); int ext2_inactive __P((struct vop_inactive_args *)); int ext2_new_block __P ((struct mount * mp, unsigned long goal, - int * prealloc_count, - int * prealloc_block)); + u_int32_t * prealloc_count, + u_int32_t * prealloc_block)); ino_t ext2_new_inode __P ((const struct inode * dir, int mode)); unsigned long ext2_count_free __P((struct buf *map, unsigned int numchars)); void ext2_free_blocks __P((struct mount * mp, unsigned long block, diff --git a/sys/gnu/fs/ext2fs/ext2_fs.h b/sys/gnu/fs/ext2fs/ext2_fs.h index 655a9df313e7..ce45bbd94397 100644 --- a/sys/gnu/fs/ext2fs/ext2_fs.h +++ b/sys/gnu/fs/ext2fs/ext2_fs.h @@ -38,7 +38,7 @@ /* the Linux implementation of EXT2 stores some information about * an inode in a ext2_inode_info structure which is part of the incore * inode in Linux - * I decided to use the i_spare[11] fields instead - we'll see how this + * I decided to use the "spare" fields instead - we'll see how this * works out */ @@ -46,7 +46,7 @@ #define i_next_alloc_block i_spare[1] #define i_next_alloc_goal i_spare[2] #define i_prealloc_block i_spare[3] -#define i_prealloc_count i_spare[4] +#define i_prealloc_count i_din.di_spare[0] /* * The second extended filesystem constants/structures diff --git a/sys/gnu/fs/ext2fs/ext2_linux_balloc.c b/sys/gnu/fs/ext2fs/ext2_linux_balloc.c index 717b0e03a81f..56ea6529d347 100644 --- a/sys/gnu/fs/ext2fs/ext2_linux_balloc.c +++ b/sys/gnu/fs/ext2fs/ext2_linux_balloc.c @@ -244,8 +244,8 @@ void ext2_free_blocks (struct mount * mp, unsigned long block, * bitmap, and then for any free bit if that fails. */ int ext2_new_block (struct mount * mp, unsigned long goal, - int * prealloc_count, - int * prealloc_block) + u_int32_t * prealloc_count, + u_int32_t * prealloc_block) { struct ext2_sb_info *sb = VFSTOUFS(mp)->um_e2fs; struct buffer_head * bh; diff --git a/sys/gnu/fs/ext2fs/inode.h b/sys/gnu/fs/ext2fs/inode.h index 76b7b5e2c27e..4b6ca7dfc3eb 100644 --- a/sys/gnu/fs/ext2fs/inode.h +++ b/sys/gnu/fs/ext2fs/inode.h @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * @(#)inode.h 8.9 (Berkeley) 5/14/95 - * $Id: inode.h,v 1.22 1998/03/26 20:53:58 phk Exp $ + * $Id: inode.h,v 1.23 1998/07/03 22:17:01 bde Exp $ */ #ifndef _UFS_UFS_INODE_H_ @@ -92,7 +92,7 @@ struct inode { doff_t i_offset; /* Offset of free space in directory. */ ino_t i_ino; /* Inode number of found directory. */ u_int32_t i_reclen; /* Size of found directory entry. */ - int i_spare[5]; /* XXX actually non-spare (for ext2fs). */ + u_int32_t i_spare[4]; /* XXX actually non-spare (for ext2fs). */ /* * The on-disk dinode itself. */ |
