search for: s_desc_per_block

Displaying 2 results from an estimated 2 matches for "s_desc_per_block".

2007 Mar 29
3
tune2fs -l stale info
Hello, I just noticed that 'tune2fs -l' did not returned a "lively" updated information regarding the free inodes count (looks like it's always correct after unmounting). It became suprising after an online resizing operation, where the total inode count was immediatly updated (grown in my case) but the free inode count was the same: one could deduce that suddenly a lot of
2017 Aug 27
1
[PATCH] ext4: Fix 64bit feature
...oup_desc(struct fs_info *fs, uint32_t group_num) +{ + return __ext2_get_group_desc(fs, group_num); } /* @@ -306,6 +310,7 @@ static int ext2_fs_init(struct fs_info *fs) if (sb.s_desc_size < sizeof(struct ext2_group_desc)) sb.s_desc_size = sizeof(struct ext2_group_desc); sbi->s_desc_per_block = BLOCK_SIZE(fs) / sb.s_desc_size; + sbi->s_desc_size = sb.s_desc_size; sbi->s_groups_count = (sb.s_blocks_count - sb.s_first_data_block + EXT2_BLOCKS_PER_GROUP(fs) - 1) / EXT2_BLOCKS_PER_GROUP(fs); diff --git a/core/fs/ext2/ext2_fs.h b/core/fs...