]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: set the unwritten bit in rmap lookup flags in xchk_bmap_get_rmapextents
authorDarrick J. Wong <darrick.wong@oracle.com>
Mon, 9 Nov 2020 00:32:43 +0000 (16:32 -0800)
committerDarrick J. Wong <darrick.wong@oracle.com>
Wed, 11 Nov 2020 00:47:51 +0000 (16:47 -0800)
commit01a258365363ff606cc9a95a8f00b24b33ec9bdc
treeb36d744399540a618ef851a975bc57cea6495218
parent8f523929919f5d07529f2eeb9b23487c8f7bc2fe
xfs: set the unwritten bit in rmap lookup flags in xchk_bmap_get_rmapextents

When the bmbt scrubber is looking up rmap extents, we need to set the
extent flags from the bmbt record fully.  This will matter once we fix
the rmap btree comparison functions to check those flags correctly.

Fixes: ba5bb1cf4a0a ("xfs: cross-reference reverse-mapping btree")
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
fs/xfs/scrub/bmap.c