]> git.itanic.dy.fi Git - linux-stable/commit
ext4: update the cached overhead value in the superblock
authorTheodore Ts'o <tytso@mit.edu>
Fri, 15 Apr 2022 02:39:00 +0000 (22:39 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 15 Apr 2022 02:39:00 +0000 (22:39 -0400)
commiteb7054212eac8b451d727bf079eae3db8c88f9d3
treeefbfe347a0bd8c4f437b6af7cdf8f03678ce3a63
parent85d825dbf4899a69407338bae462a59aa9a37326
ext4: update the cached overhead value in the superblock

If we (re-)calculate the file system overhead amount and it's
different from the on-disk s_overhead_clusters value, update the
on-disk version since this can take potentially quite a while on
bigalloc file systems.

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Cc: stable@kernel.org
fs/ext4/ext4.h
fs/ext4/ioctl.c
fs/ext4/super.c