diff options
-rw-r--r-- | ext2fs/inode.c | 4 |
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; |