]> git.apps.os.sepia.ceph.com Git - ceph-client.git/commit
jbd2: remove redundant function jbd2_journal_has_csum_v2or3_feature
authorEric Biggers <ebiggers@google.com>
Fri, 7 Feb 2025 03:14:24 +0000 (19:14 -0800)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 17 Mar 2025 15:19:41 +0000 (11:19 -0400)
commitf6fc1584f500e0c036190f235b0857c6b05ee0d1
tree6254596c485408a60dcafa37c2fd3cfdcc2c95a6
parente224fa3b8a0351834fe310ccac61a5aab941ee22
jbd2: remove redundant function jbd2_journal_has_csum_v2or3_feature

Since commit dd348f054b24 ("jbd2: switch to using the crc32c library"),
jbd2_journal_has_csum_v2or3() and jbd2_journal_has_csum_v2or3_feature()
are the same.  Remove jbd2_journal_has_csum_v2or3_feature() and just
keep jbd2_journal_has_csum_v2or3().

Signed-off-by: Eric Biggers <ebiggers@google.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Link: https://patch.msgid.link/20250207031424.42755-1-ebiggers@kernel.org
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/jbd2/journal.c
include/linux/jbd2.h