]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit89b9be6f158e82877745fb716c30be086e4534f4
treec299c6e2430a145c784deecc44954315be5a8726
parentb1e0c523b775588016c33a19b488420d100c47d9
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