summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@kernel.org>2024-12-02 10:57:42 -0800
committerDarrick J. Wong <djwong@kernel.org>2024-12-12 17:45:13 -0800
commitc004a793e0ec34047c3bd423bcd8966f5fac88dc (patch)
treeff165cab630365f859d67d7cd522f24d70a4e9f9 /tools/perf/scripts/python/syscall-counts.py
parent06b20ef09ba16374e1e68f1e8dbe434c4ad4e6fd (diff)
xfs: fix zero byte checking in the superblock scrubber
The logic to check that the region past the end of the superblock is all zeroes is wrong -- we don't want to check only the bytes past the end of the maximally sized ondisk superblock structure as currently defined in xfs_format.h; we want to check the bytes beyond the end of the ondisk as defined by the feature bits. Port the superblock size logic from xfs_repair and then put it to use in xfs_scrub. Cc: <stable@vger.kernel.org> # v4.15 Fixes: 21fb4cb1981ef7 ("xfs: scrub the secondary superblocks") Signed-off-by: "Darrick J. Wong" <djwong@kernel.org> Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions