diff options
author | Ritesh Harjani (IBM) <ritesh.list@gmail.com> | 2025-05-19 21:19:27 +0300 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2025-05-20 21:21:00 +0300 |
commit | 797ac3ca24ca1af396e84d16c79c523cfefe1737 (patch) | |
tree | 285c8a0c87e839279409e0c1811254eedb2a6dc5 /scripts/lib/kdoc/kdoc_output.py | |
parent | 3be4bb7e71477c0b9708bd6f1975db0ffc72cce4 (diff) | |
download | linux-797ac3ca24ca1af396e84d16c79c523cfefe1737.tar.xz |
ext4: Simplify last in leaf check in ext4_map_query_blocks
This simplifies the check for last in leaf in ext4_map_query_blocks()
and fixes this cocci warning.
cocci warnings: (new ones prefixed by >>)
>> fs/ext4/inode.c:573:49-51: WARNING !A || A && B is equivalent to !A || B
Fixes: 5bb12b1837c0 ("ext4: Add support for EXT4_GET_BLOCKS_QUERY_LEAF_BLOCKS")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202505191524.auftmOwK-lkp@intel.com/
Signed-off-by: Ritesh Harjani (IBM) <ritesh.list@gmail.com>
Reviewed-by: Ojaswin Mujoo <ojaswin@linux.ibm.com>
Link: https://patch.msgid.link/5fd5c806218c83f603c578c95997cf7f6da29d74.1747677758.git.ritesh.list@gmail.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_output.py')
0 files changed, 0 insertions, 0 deletions