lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Thu, 7 Jul 2022 23:19:56 -0400 From: "Theodore Ts'o" <tytso@....edu> To: tytso@....edu, linux-ext4@...r.kernel.org Cc: stable@...nel.org Subject: Re: [PATCH 1/2] ext4: update s_overhead_clusters in the superblock during an on-line resize On Wed, 29 Jun 2022 00:00:25 -0400, Theodore Ts'o wrote: > When doing an online resize, the on-disk superblock on-disk wasn't > updated. This means that when the file system is unmounted and > remounted, and the on-disk overhead value is non-zero, this would > result in the results of statfs(2) to be incorrect. > > This was partially fixed by Commits 10b01ee92df5 ("ext4: fix overhead > calculation to account for the reserved gdt blocks"), 85d825dbf489 > ("ext4: force overhead calculation if the s_overhead_cluster makes no > sense"), and eb7054212eac ("ext4: update the cached overhead value in > the superblock"). > > [...] Applied, thanks! [1/2] ext4: update s_overhead_clusters in the superblock during an on-line resize commit: e781b8ce9261f353df91b94303e53c31fdf9871e [2/2] ext4: update the s_overhead_clusters in the backup sb's when resizing commit: 2c8204b83ceaf439dff2d1a94a7e2d3ad7619287 Best regards, -- Theodore Ts'o <tytso@....edu>
Powered by blists - more mailing lists