diff options
| author | Darrick J. Wong <djwong@kernel.org> | 2026-09-02 22:51:36 -0700 |
|---|---|---|
| committer | Carlos Maiolino <cem@kernel.org> | 2026-09-07 07:50:36 +0200 |
| commit | 0d43368844a75ad13561a1198a3b027940730756 (patch) | |
| tree | 6d59d82f57da45f5cc24ac1ea6f0ba7b22d117f8 /scripts/Makefile.thinlto | |
| parent | c3085f6c7cca7c162248519ce8d763047cdd8acd (diff) | |
| download | linux-stable-0d43368844a75ad13561a1198a3b027940730756.tar.gz linux-stable-0d43368844a75ad13561a1198a3b027940730756.zip | |
xfs: strengthen the "is cow staging" helpers in scrub
LOLLM pointed out a bug in both of the refcount scrub predicates that
determine if a range of blocks is marked as CoW staging in the btree.
While it compares blockcount < len, this isn't enough to determine that
the CoW staging record is at least as large as the range passed into the
helper. Fix both of them.
Cc: stable@vger.kernel.org # v4.16
Fixes: f6d5fc21fdc713 ("xfs: cross-reference refcount btree during scrub")
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Assisted-by: LOLLM # finding obvious bugs
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
