Skip to content
Commit d4ffeeb7 authored by Jing Yangyang's avatar Jing Yangyang Committed by Theodore Ts'o
Browse files

ext4: fix boolreturn.cocci warnings in fs/ext4/name.c



Return statements in functions returning bool should use true/false
instead of 1/0.

./fs/ext4/namei.c:1441:12-13:WARNING:return of 0/1 in function
'ext4_match' with return type bool

Reported-by: default avatarZeal Robot <zealci@zte.com.cn>
Signed-off-by: default avatarJing Yangyang <jing.yangyang@zte.com.cn>
Reviewed-by: default avatarJan Kara <jack@suse.cz>
Link: https://lore.kernel.org/r/20210824055543.58718-1-deng.changcheng@zte.com.cn
Signed-off-by: default avatarTheodore Ts'o <tytso@mit.edu>
parent de01f484
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment