diff options
| author | Christoph Hellwig <hch@lst.de> | 2026-05-29 07:43:58 +0200 |
|---|---|---|
| committer | Carlos Maiolino <cem@kernel.org> | 2026-06-09 09:14:41 +0200 |
| commit | f8e9350fff08217591eaab01551a7a253fbb1fc0 (patch) | |
| tree | bd7123e30d02ef5ef3de6f26453c770e6be1b59d /include/linux/timerqueue_types.h | |
| parent | 1113a6d6d5d1336f4415fa1367aac0f853f0892d (diff) | |
xfs: remove the call to xfs_buf_reverify in xfs_trans_read_buf_map
xfs_trans_read_buf_map asserts bp->b_ops is non-NULL just before
calling xfs_buf_reverify which is a no-op if bp->b_ops is set, making the
call dead code ever since it as added in commit 1aff5696f3e0 ("xfs: always
assign buffer verifiers when one is provided").
Remove the useless call, mark xfs_buf_reverify static and clean up the
branch dealing with a buffer attached to the transaction in a bit by
deduplicating and keeping together the asserts and removing the bip
variable only used once outside of asserts and tracing.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
Diffstat (limited to 'include/linux/timerqueue_types.h')
0 files changed, 0 insertions, 0 deletions
