aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests
diff options
context:
space:
mode:
authorPavel Machek <[email protected]>2020-08-03 11:35:06 +0200
committerDavid Sterba <[email protected]>2020-08-11 12:30:17 +0200
commit881a3a11c2b858fe9b69ef79ac5ee9978a266dc9 (patch)
tree158cc0b67486ab5fea78b7083621d95096c641dd /tools/testing/selftests/bpf/prog_tests
parent62ab2cc04ddc5dfab4e382ae167734fc111da5ed (diff)
btrfs: fix return value mixup in btrfs_get_extent
btrfs_get_extent() sets variable ret, but out: error path expect error to be in variable err so the error code is lost. Fixes: 6bf9e4bd6a27 ("btrfs: inode: Verify inode mode to avoid NULL pointer dereference") CC: [email protected] # 5.4+ Reviewed-by: Nikolay Borisov <[email protected]> Signed-off-by: Pavel Machek (CIP) <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests')
0 files changed, 0 insertions, 0 deletions