aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext4/fast_commit.c
diff options
context:
space:
mode:
authorKemeng Shi <[email protected]>2023-08-26 17:47:07 +0000
committerTheodore Ts'o <[email protected]>2023-10-06 02:32:15 +0000
commit1fc1bd2d18bbade157f7b14270f509ebbd89881b (patch)
tree5c4b84286c3d3c227f58165dec5275b53f6410a7 /fs/ext4/fast_commit.c
parentext4: remove commented code in reserve_backup_gdb (diff)
downloadkernel-1fc1bd2d18bbade157f7b14270f509ebbd89881b.tar.gz
kernel-1fc1bd2d18bbade157f7b14270f509ebbd89881b.zip
ext4: calculate free_clusters_count in cluster unit in verify_group_input
The field free_cluster_count in struct ext4_new_group_data should be in units of clusters. In verify_group_input() this field is being filled in units of blocks. Fortunately, we don't support online resizing of bigalloc file systems, and for non-bigalloc file systems, the cluster size == block size. But fix this in case we do support online resizing of bigalloc file systems in the future. Signed-off-by: Kemeng Shi <[email protected]> Reviewed-by: Theodore Ts'o <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Theodore Ts'o <[email protected]>
Diffstat (limited to 'fs/ext4/fast_commit.c')
0 files changed, 0 insertions, 0 deletions