From: Qu Wenruo <wqu@suse.com>
To: linux-btrfs@vger.kernel.org
Subject: [PATCH 0/2] btrfs-progs: header cleanups
Date: Sun, 31 Mar 2024 08:54:24 +1030 [thread overview]
Message-ID: <cover.1711837050.git.wqu@suse.com> (raw)
[REPO]
https://github.com/adam900710/btrfs-progs/tree/headers_cleanup
This series is focusing on cleanup the unused headers.
This is mostly done by clangd, although it has some false alerts related
to macro usages of a header.
But still it's pretty awesome to cleanup a lot of unnecessary headers.
Only one special touch on pretty_size() macro, to change it to a static
inline function to workaround the clangd bug.
The first patch would do the main heavy lifting, meanwhile the second
patch is doing the BTRFS_FLAT_INCLUDES related cleanups for library-test
code.
Unfortunately I didn't touch anything inside crypto/*, the main reason
is I'm not confident enough to verify all the optimization for different
instructions.
(And even less motivation after the infamous recent XZ backdoor attempt,
by a possibly state-sponsored sleeping agent, ruining the trust among
open source community.)
Qu Wenruo (2):
btrfs-progs: headers cleanup
btrfs-progs: library-test: header and BTRFS_FLAT_INCLUDES cleanups
btrfs-corrupt-block.c | 1 -
btrfs-sb-mod.c | 2 --
btrfs.c | 1 -
cmds/device.c | 1 -
cmds/filesystem-du.c | 1 -
cmds/filesystem-usage.c | 1 -
cmds/inspect.c | 3 ---
cmds/quota.c | 1 -
cmds/receive-dump.c | 1 -
cmds/receive.c | 1 -
cmds/reflink.c | 2 --
cmds/restore.c | 1 -
cmds/scrub.c | 3 ---
common/device-scan.c | 1 -
common/open-utils.c | 1 -
common/path-utils.c | 1 -
common/send-stream.c | 1 -
common/send-utils.c | 1 -
common/string-utils.c | 2 --
common/units.h | 7 ++++++-
common/utils.c | 1 -
convert/main.c | 1 -
convert/source-ext2.c | 1 -
kernel-lib/mktables.c | 5 +----
kernel-shared/dir-item.c | 1 -
kernel-shared/extent-tree.c | 1 -
kernel-shared/file-item.c | 1 -
kernel-shared/file.c | 2 --
kernel-shared/inode-item.c | 2 --
kernel-shared/messages.c | 1 -
kernel-shared/root-tree.c | 1 -
kernel-shared/tree-checker.c | 1 -
kernel-shared/uuid-tree.c | 3 ---
kernel-shared/zoned.c | 1 -
libbtrfs/crc32c.c | 5 ++---
mkfs/common.c | 1 -
mkfs/rootdir.c | 1 -
tests/fsstress.c | 25 ++++++++++++-------------
tests/ioctl-test.c | 1 -
tests/library-test.c | 22 +++-------------------
40 files changed, 24 insertions(+), 86 deletions(-)
--
2.44.0
next reply other threads:[~2024-03-30 22:24 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-30 22:24 Qu Wenruo [this message]
2024-03-30 22:24 ` [PATCH 1/2] btrfs-progs: headers cleanup Qu Wenruo
2024-03-30 22:24 ` [PATCH 2/2] btrfs-progs: library-test: header and BTRFS_FLAT_INCLUDES cleanups Qu Wenruo
2024-04-02 22:05 ` [PATCH 0/2] btrfs-progs: header cleanups Qu Wenruo
2024-04-03 13:45 ` David Sterba
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1711837050.git.wqu@suse.com \
--to=wqu@suse.com \
--cc=linux-btrfs@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.