aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/progs/recvmsg_unix_prog.c
diff options
context:
space:
mode:
authorShiyang Ruan <[email protected]>2023-09-13 10:29:42 +0000
committerChandan Babu R <[email protected]>2023-10-12 04:41:56 +0000
commit3c90c01e49342b166e5c90ec2c85b220be15a20e (patch)
treed35d2871633a5938a3fb8810e51344d60ad16459 /tools/testing/selftests/bpf/progs/recvmsg_unix_prog.c
parentMerge tag 'random-fixes-6.6_2023-10-11' of https://git.kernel.org/pub/scm/lin... (diff)
downloadkernel-3c90c01e49342b166e5c90ec2c85b220be15a20e.tar.gz
kernel-3c90c01e49342b166e5c90ec2c85b220be15a20e.zip
xfs: correct calculation for agend and blockcount
The agend should be "start + length - 1", then, blockcount should be "end + 1 - start". Correct 2 calculation mistakes. Also, rename "agend" to "range_agend" because it's not the end of the AG per se; it's the end of the dead region within an AG's agblock space. Fixes: 5cf32f63b0f4 ("xfs: fix the calculation for "end" and "length"") Signed-off-by: Shiyang Ruan <[email protected]> Reviewed-by: "Darrick J. Wong" <[email protected]> Signed-off-by: Chandan Babu R <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/recvmsg_unix_prog.c')
0 files changed, 0 insertions, 0 deletions