aboutsummaryrefslogtreecommitdiffstats
path: root/lib/interval_tree_test.c
diff options
context:
space:
mode:
authorJan Kara <[email protected]>2025-03-12 15:18:39 +0000
committerJan Kara <[email protected]>2025-03-13 17:23:29 +0000
commit6afdc60ec30b0a9390d11b7cebed79c857ce82aa (patch)
treeea5c976e7f415516597db9781c5c0a6424fd5830 /lib/interval_tree_test.c
parentext2: Make ext2_params_spec static (diff)
downloadkernel-6afdc60ec30b0a9390d11b7cebed79c857ce82aa.tar.gz
kernel-6afdc60ec30b0a9390d11b7cebed79c857ce82aa.zip
udf: Fix inode_getblk() return value
Smatch noticed that inode_getblk() can return 1 on successful mapping of a block instead of expected 0 after commit b405c1e58b73 ("udf: refactor udf_next_aext() to handle error"). This could confuse some of the callers and lead to strange failures (although the one reported by Smatch in udf_mkdir() is impossible to trigger in practice). Fix the return value of inode_getblk(). Link: https://lore.kernel.org/all/[email protected] Reported-by: Dan Carpenter <[email protected]> Reviewed-by: Carlos Maiolino <[email protected]> Fixes: b405c1e58b73 ("udf: refactor udf_next_aext() to handle error") CC: [email protected] Signed-off-by: Jan Kara <[email protected]>
Diffstat (limited to 'lib/interval_tree_test.c')
0 files changed, 0 insertions, 0 deletions