]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commit
fuse2fs: fix races in statfs
authorDarrick J. Wong <djwong@kernel.org>
Wed, 9 Jul 2025 16:52:40 +0000 (09:52 -0700)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 31 Jul 2025 14:41:55 +0000 (10:41 -0400)
commit5aeeba417fd0a6598046cd59807235db00e99908
treeae98a24f8189fc604f6f3906ee5aea6d74850ca5
parentdde5994fa0c314fb5b0f4020106937db4b12d68c
fuse2fs: fix races in statfs

Take the BFL in statfs so that we don't expose a torn access to
userspace.  Found via code inspection.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Link: https://lore.kernel.org/r/20250709165240.GF2672022@frogsfrogsfrogs
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
misc/fuse2fs.c