summaryrefslogtreecommitdiff
path: root/ext2fs/inode.c
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1995-05-14 00:12:08 +0000
committerMiles Bader <miles@gnu.org>1995-05-14 00:12:08 +0000
commitef6f0c8efeb9c5491008172e6b258f5902015fcf (patch)
tree15069dd81847d856f99325ced01106745f67414c /ext2fs/inode.c
parent9e835c5ded1b21f323dac18bcf84870c1cbb13f9 (diff)
(diskfs_set_statfs): Set st->fsys_stb_bsize, not _fsize, to the block size.
Diffstat (limited to 'ext2fs/inode.c')
-rw-r--r--ext2fs/inode.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext2fs/inode.c b/ext2fs/inode.c
index c6fa3257..6d2d2084 100644
--- a/ext2fs/inode.c
+++ b/ext2fs/inode.c
@@ -440,8 +440,8 @@ error_t
diskfs_set_statfs (struct fsys_statfsbuf *st)
{
st->fsys_stb_type = FSTYPE_EXT2FS;
- st->fsys_stb_fsize = EXT2_BLOCK_SIZE(sblock);
- st->fsys_stb_fsize = EXT2_FRAG_SIZE(sblock);
+ st->fsys_stb_bsize = block_size;
+ st->fsys_stb_fsize = 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;