From ef6f0c8efeb9c5491008172e6b258f5902015fcf Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Sun, 14 May 1995 00:12:08 +0000 Subject: (diskfs_set_statfs): Set st->fsys_stb_bsize, not _fsize, to the block size. --- ext2fs/inode.c | 4 ++-- 1 file 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; -- cgit v1.2.3