aboutsummaryrefslogtreecommitdiffstats
path: root/net/strparser/strparser.c
diff options
context:
space:
mode:
authorRitesh Harjani (IBM) <[email protected]>2025-05-19 18:19:30 +0000
committerTheodore Ts'o <[email protected]>2025-05-20 18:21:00 +0000
commit7acd1b315cdcc03b11a3aa1f9c9c85d99ddb4f0e (patch)
tree448d000ac34380808999476540f77b83cbdf35c9 /net/strparser/strparser.c
parentext4: Simplify flags in ext4_map_query_blocks() (diff)
downloadkernel-7acd1b315cdcc03b11a3aa1f9c9c85d99ddb4f0e.tar.gz
kernel-7acd1b315cdcc03b11a3aa1f9c9c85d99ddb4f0e.zip
ext4: Add a WARN_ON_ONCE for querying LAST_IN_LEAF instead
We added the documentation in ext4_map_blocks() for usage of EXT4_GET_BLOCKS_QUERY_LAST_IN_LEAF flag. But It's better to add a WARN_ON_ONCE in case if anyone tries using this flag with CREATE to avoid a random issue later. Since depth can change with CREATE and it needs to be re-calculated before using it in there. Signed-off-by: Ritesh Harjani (IBM) <[email protected]> Reviewed-by: Ojaswin Mujoo <[email protected]> Link: https://patch.msgid.link/ee6e82a224c50b432df9ce1ce3333c50182d8473.1747677758.git.ritesh.list@gmail.com Signed-off-by: Theodore Ts'o <[email protected]>
Diffstat (limited to 'net/strparser/strparser.c')
0 files changed, 0 insertions, 0 deletions