summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1995-10-05 00:05:02 +0000
committerMiles Bader <miles@gnu.org>1995-10-05 00:05:02 +0000
commitbbd420a9da951ccb7df8d44239cae071aec77314 (patch)
tree72dc8a682f82e8c68530c6e159f7e78ea6e7ee6e
parent0a796ed9c73e8cfadcdf3bc810123dc2bce4300e (diff)
(diskfs_set_statfs): fsys_stb_bsize -> fsys_stb_iosize.
fsys_stb_fsize -> fsys_stb_bsize.
-rw-r--r--ext2fs/inode.c4
-rw-r--r--ufs/inode.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/ext2fs/inode.c b/ext2fs/inode.c
index 2d650b2e..fb8913ac 100644
--- a/ext2fs/inode.c
+++ b/ext2fs/inode.c
@@ -461,8 +461,8 @@ error_t
diskfs_set_statfs (struct fsys_statfsbuf *st)
{
st->fsys_stb_type = FSTYPE_EXT2FS;
- st->fsys_stb_bsize = block_size;
- st->fsys_stb_fsize = frag_size;
+ st->fsys_stb_iosize = block_size;
+ st->fsys_stb_bsize = frag_size;
st->fsys_stb_blocks = sblock->s_blocks_count;
st->fsys_stb_bfree = sblock->s_free_blocks_count;
st->fsys_stb_bavail = st->fsys_stb_bfree - sblock->s_r_blocks_count;
diff --git a/ufs/inode.c b/ufs/inode.c
index ec4ee10b..2c1c7278 100644
--- a/ufs/inode.c
+++ b/ufs/inode.c
@@ -471,8 +471,8 @@ error_t
diskfs_set_statfs (struct fsys_statfsbuf *st)
{
st->fsys_stb_type = FSTYPE_UFS;
- st->fsys_stb_bsize = sblock->fs_bsize;
- st->fsys_stb_fsize = sblock->fs_fsize;
+ st->fsys_stb_iosize = sblock->fs_bsize;
+ st->fsys_stb_bsize = sblock->fs_fsize;
st->fsys_stb_blocks = sblock->fs_dsize;
st->fsys_stb_bfree = (sblock->fs_cstotal.cs_nbfree * sblock->fs_frag
+ sblock->fs_cstotal.cs_nffree);