xfs: remove xlog_verify_dest_ptr
authorChristoph Hellwig <hch@lst.de>
Thu, 21 Apr 2022 00:36:27 +0000 (10:36 +1000)
committerDave Chinner <david@fromorbit.com>
Thu, 21 Apr 2022 00:36:27 +0000 (10:36 +1000)
commit1236bbe86bb83165ff6ba68ce19d81713340f597
treec299c6e2430a145c784deecc44954315be5a8726
parentad3e3693182bb990484b187b33c7f9735bb549be
xfs: remove xlog_verify_dest_ptr

Just check that the offset in xlog_write_vec is smaller than the iclog
size and remove the expensive cycling through all iclogs.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Chandan Babu R <chandanrlinux@gmail.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Dave Chinner <david@fromorbit.com>
fs/xfs/xfs_log.c
fs/xfs/xfs_log_priv.h