From: Eric Biggers <ebiggers@kernel.org>
To: linux-ext4@vger.kernel.org
Subject: [PATCH 0/4] ext4,jbd2: clean up unused arguments to checksum functions
Date: Mon, 12 May 2025 22:38:05 -0700 [thread overview]
Message-ID: <20250513053809.699974-1-ebiggers@kernel.org> (raw)
Since ext4_chksum() and jbd2_chksum() now call crc32c() directly, they
no longer use their ext4_sb_info and journal_t arguments. Remove these
unnecessary arguments. No functional changes.
Eric Biggers (4):
ext4: remove sbi argument from ext4_chksum()
ext4: remove sb argument from ext4_superblock_csum()
jbd2: remove journal_t argument from jbd2_chksum()
jbd2: remove journal_t argument from jbd2_superblock_csum()
fs/ext4/bitmap.c | 8 ++++----
fs/ext4/ext4.h | 6 ++----
fs/ext4/extents.c | 3 +--
fs/ext4/fast_commit.c | 10 +++++-----
fs/ext4/ialloc.c | 5 ++---
fs/ext4/inode.c | 19 ++++++++-----------
fs/ext4/ioctl.c | 8 ++++----
fs/ext4/mmp.c | 2 +-
fs/ext4/namei.c | 10 ++++------
fs/ext4/orphan.c | 13 ++++++-------
fs/ext4/resize.c | 2 +-
fs/ext4/super.c | 22 ++++++++++------------
fs/ext4/xattr.c | 10 +++++-----
fs/jbd2/commit.c | 6 +++---
fs/jbd2/journal.c | 14 +++++++-------
fs/jbd2/recovery.c | 10 +++++-----
include/linux/jbd2.h | 3 +--
17 files changed, 69 insertions(+), 82 deletions(-)
base-commit: 94824ac9a8aaf2fb3c54b4bdde842db80ffa555d
--
2.49.0
next reply other threads:[~2025-05-13 5:38 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-05-13 5:38 Eric Biggers [this message]
2025-05-13 5:38 ` [PATCH 1/4] ext4: remove sbi argument from ext4_chksum() Eric Biggers
2025-05-13 6:13 ` Baokun Li
2025-05-13 5:38 ` [PATCH 2/4] ext4: remove sb argument from ext4_superblock_csum() Eric Biggers
2025-05-13 6:17 ` Baokun Li
2025-05-13 5:38 ` [PATCH 3/4] jbd2: remove journal_t argument from jbd2_chksum() Eric Biggers
2025-05-13 6:19 ` Baokun Li
2025-05-13 5:38 ` [PATCH 4/4] jbd2: remove journal_t argument from jbd2_superblock_csum() Eric Biggers
2025-05-13 6:21 ` Baokun Li
2025-05-20 14:40 ` [PATCH 0/4] ext4,jbd2: clean up unused arguments to checksum functions Theodore Ts'o
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=20250513053809.699974-1-ebiggers@kernel.org \
--to=ebiggers@kernel.org \
--cc=linux-ext4@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox