diff options
| author | Eric Biggers <ebiggers@google.com> | 2025-05-12 22:38:06 -0700 |
|---|---|---|
| committer | Theodore Ts'o <tytso@mit.edu> | 2025-05-20 10:31:12 -0400 |
| commit | 6cbab5f95e49ec8a9f21784fae3ff0ee09b2dfbc (patch) | |
| tree | 2ffa04bb31f9cbc4f50c5135098ee97011bc2906 /fs/ext4/ext4.h | |
| parent | 7ac67301e82f02b77a5c8e7377a1f414ef108b84 (diff) | |
ext4: remove sbi argument from ext4_chksum()
Since ext4_chksum() no longer uses its sbi argument, remove it.
Signed-off-by: Eric Biggers <ebiggers@google.com>
Reviewed-by: Baokun Li <libaokun1@huawei.com>
Link: https://patch.msgid.link/20250513053809.699974-2-ebiggers@kernel.org
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/ext4.h')
| -rw-r--r-- | fs/ext4/ext4.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/ext4/ext4.h b/fs/ext4/ext4.h index cda06ed468ca..f414a1a16d9a 100644 --- a/fs/ext4/ext4.h +++ b/fs/ext4/ext4.h @@ -2494,8 +2494,7 @@ static inline __le16 ext4_rec_len_to_disk(unsigned len, unsigned blocksize) #define DX_HASH_SIPHASH 6 #define DX_HASH_LAST DX_HASH_SIPHASH -static inline u32 ext4_chksum(struct ext4_sb_info *sbi, u32 crc, - const void *address, unsigned int length) +static inline u32 ext4_chksum(u32 crc, const void *address, unsigned int length) { return crc32c(crc, address, length); } |