aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/clang-tools/gen_compile_commands.py
diff options
context:
space:
mode:
authorNaohiro Aota <[email protected]>2022-05-04 23:12:48 +0000
committerDavid Sterba <[email protected]>2022-05-17 18:15:25 +0000
commitaa9ffadfcae33e611d8c2d476bcc2aa0d273b587 (patch)
treedecb2d86c3c0813050d3f0e9dddfc00d92b6da28 /scripts/clang-tools/gen_compile_commands.py
parentbtrfs: send: avoid trashing the page cache (diff)
downloadkernel-aa9ffadfcae33e611d8c2d476bcc2aa0d273b587.tar.gz
kernel-aa9ffadfcae33e611d8c2d476bcc2aa0d273b587.zip
btrfs: zoned: fix comparison of alloc_offset vs meta_write_pointer
The block_group->alloc_offset is an offset from the start of the block group. OTOH, the ->meta_write_pointer is an address in the logical space. So, we should compare the alloc_offset shifted with the block_group->start. Fixes: afba2bc036b0 ("btrfs: zoned: implement active zone tracking") CC: [email protected] # 5.16+ Signed-off-by: Naohiro Aota <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'scripts/clang-tools/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions