]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commit
fuse2fs: compact all the boolean flags in struct fuse2fs
authorDarrick J. Wong <djwong@kernel.org>
Wed, 21 May 2025 22:36:13 +0000 (15:36 -0700)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 23 May 2025 05:10:10 +0000 (01:10 -0400)
commitc7f2688540d95e7f2cbcd178f8ff62ebe079faf7
treefa642ff796615cb4e79e58ce942e26579cf6e2e6
parent1d6ff53834dac0c3d708ce95c2f9de96ebd8a833
fuse2fs: compact all the boolean flags in struct fuse2fs

Compact all the booleans into u8 fields.  I'd go further and turn them
into bitfields but that breaks the fuse argument parsing macros, which
compute the offset of the structure fields, and gcc won't let us do that
to bit fields.  Still, 136 -> 112 bytes isn't bad.

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