diff options
| author | Darrick J. Wong <djwong@kernel.org> | 2026-10-12 08:23:27 -0700 |
|---|---|---|
| committer | Carlos Maiolino <cem@kernel.org> | 2026-10-14 09:34:54 +0200 |
| commit | 00f32fdf54983371d39162efef7df693e2842ffb (patch) | |
| tree | 2ab1e2a036dd4ff9b060413987608398f8ca4700 /tools/perf/scripts/python | |
| parent | 91c41f9524906a8ebd2ae68c98a07b4bd5255ddb (diff) | |
| download | linux-00f32fdf54983371d39162efef7df693e2842ffb.tar.gz linux-00f32fdf54983371d39162efef7df693e2842ffb.zip | |
xfs: clarify various parts of the bitmap API
LOLLM pointed out some underspecified parts of the xbitmap{32,64} API.
Specifically, the behavior of set/clear/test functions when the length
parameter is zero is not well defined, nor is what happens when someone
tries to disunion a bitmap with itself. None of these situations are
expected, but we'll define zero-length set and clear to be nops, and the
rest to be checked by assertions.
Cc: stable@vger.kernel.org # v6.8
Fixes: 6ece924b952262 ("xfs: create separate structures and code for u32 bitmaps")
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')
0 files changed, 0 insertions, 0 deletions
