Skip to content

ext4,jbd2: clean up unused arguments to checksum functions

Eric Biggers linux-ext4 1 version Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 5 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/4ext4: remove sbi argument from ext4_chksum()fs/ext4/bitmap.c fs/ext4/ext4.h fs/ext4/extents.c +9 more+45 -551 reply
2/4ext4: remove sb argument from ext4_superblock_csum()fs/ext4/ext4.h fs/ext4/ioctl.c fs/ext4/resize.c +1 more+8 -101 reply
3/4jbd2: remove journal_t argument from jbd2_chksum()fs/jbd2/commit.c fs/jbd2/journal.c fs/jbd2/recovery.c +1 more+13 -141 reply
4/4jbd2: remove journal_t argument from jbd2_superblock_csum()fs/jbd2/journal.c+3 -31 reply

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchBaokun Li
1/4R-b
2/4R-b
3/4R-b
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/4] ext4,jbd2: clean up unused arguments to checksum functions

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

Signature · 1 line
2.49.0