diff options
| author | Darrick J. Wong <djwong@kernel.org> | 2026-10-12 23:06:46 -0700 |
|---|---|---|
| committer | Carlos Maiolino <cem@kernel.org> | 2026-10-14 10:04:27 +0200 |
| commit | 634b63baf05062988456a0bd5df2696c14ea2949 (patch) | |
| tree | 92642b6f15ecb64b2389c0ec2b63bc5fe5200674 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 219ff8a734d8438e24eb346a847c9b1ad9b7ab5d (diff) | |
| download | linux-634b63baf05062988456a0bd5df2696c14ea2949.tar.gz linux-634b63baf05062988456a0bd5df2696c14ea2949.zip | |
xfs: only written file data blocks can be shared
LOLLM noticed that xchk_refcountbt_rmap_check (and its rt equivalent)
will count any rmap owner towards the shared count. However, the only
blocks that can be shared between xfs files are written file data
blocks; and the only blocks that can have single-refcount entries are
COW staging extents. Fix the checking code.
Cc: stable@vger.kernel.org # v4.16
Fixes: dbde19da963706 ("xfs: cross-reference the rmapbt data with the refcountbt")
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 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
