]> www.infradead.org Git - users/jedix/linux-maple.git/commit
maple_tree: reorder mas->store_type case statements
authorSidhartha Kumar <sidhartha.kumar@oracle.com>
Mon, 7 Apr 2025 18:41:02 +0000 (18:41 +0000)
committerLiam R. Howlett <Liam.Howlett@oracle.com>
Tue, 8 Apr 2025 20:01:43 +0000 (16:01 -0400)
commit29c48e2cad871a5775ecf55b35a50f12b6474c20
treedfae653158df9868759237154caf1c3ad4dc8522
parentb19baf2eaa9e0be198f841b49c65cb14306b25db
maple_tree: reorder mas->store_type case statements

Move the unlikely case that mas->store_type is invalid to be the last
evaluated case and put liklier cases higher up.

Suggested-by: Liam R. Howlett <liam.howlett@oracle.com>
Reviewed-by: Liam R. Howlett <Liam.Howlett@Oracle.com>
Signed-off-by: Sidhartha Kumar <sidhartha.kumar@oracle.com>
lib/maple_tree.c