]> 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)
commitfdaf209c1c0f8d3d998a817a91983b2797fb9e89
treeefbfe347a0bd8c4f437b6af7cdf8f03678ce3a63
parent0371b61965287bd60502a14b297f5e504660f485
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