xfs: change bmap scrubber to store the previous mapping
authorDarrick J. Wong <djwong@kernel.org>
Wed, 12 Apr 2023 02:00:23 +0000 (19:00 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Wed, 12 Apr 2023 02:00:23 +0000 (19:00 -0700)
commit971ee3a6706abf1074349c124922e4e4d513fa45
treee65fd915d8e31aaec4b42b2c08e0d959624a1365
parent1fc7a0597d237c17b6501f8c33b76d3eaaae9079
xfs: change bmap scrubber to store the previous mapping

Convert the inode data/attr/cow fork scrubber to remember the entire
previous mapping, not just the next expected offset.  No behavior
changes here, but this will enable some better checking in subsequent
patches.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
fs/xfs/scrub/bmap.c