--- zzzz-none-000/linux-3.10.107/fs/hfsplus/bfind.c 2017-06-27 09:49:32.000000000 +0000 +++ scorpion-7490-727/linux-3.10.107/fs/hfsplus/bfind.c 2021-02-04 17:41:59.000000000 +0000 @@ -118,9 +118,7 @@ int b, e; int res; - if (!rec_found) - BUG(); - + BUG_ON(!rec_found); b = 0; e = bnode->num_recs - 1; res = -ENOENT;