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