]> git.baikalelectronics.ru Git - kernel.git/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)
commitca684d65ae2fbd7395854edd0c4c1988e46290ca
treeefbfe347a0bd8c4f437b6af7cdf8f03678ce3a63
parent6ef07ffd04c61378e5c4c0923350be13f4a4a70c
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