aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/prog_array_init.c
diff options
context:
space:
mode:
authorHaisu Wang <[email protected]>2024-10-25 14:54:40 +0800
committerDavid Sterba <[email protected]>2024-11-07 02:08:29 +0100
commit2b084d8205949dd804e279df8e68531da78be1e8 (patch)
tree9ac5c85b966de2cbfe0aa73599f2f9f6bbd2b0f9 /tools/testing/selftests/bpf/prog_tests/prog_array_init.c
parentc9a75ec45f1111ef530ab186c2a7684d0a0c9245 (diff)
btrfs: fix the length of reserved qgroup to free
The dealloc flag may be cleared and the extent won't reach the disk in cow_file_range when errors path. The reserved qgroup space is freed in commit 30479f31d44d ("btrfs: fix qgroup reserve leaks in cow_file_range"). However, the length of untouched region to free needs to be adjusted with the correct remaining region size. Fixes: 30479f31d44d ("btrfs: fix qgroup reserve leaks in cow_file_range") CC: [email protected] # 6.11+ Reviewed-by: Qu Wenruo <[email protected]> Reviewed-by: Boris Burkov <[email protected]> Signed-off-by: Haisu Wang <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions