···11/*22- * Copyright (C) International Business Machines Corp., 2000-200422+ * Copyright (C) International Business Machines Corp., 2000-200533 *44 * This program is free software; you can redistribute it and/or modify55 * it under the terms of the GNU General Public License as published by···688688 /* search hit - internal page:689689 * descend/search its child page690690 */691691- if (index < p->header.nextindex - 1)691691+ if (index < le16_to_cpu(p->header.nextindex)-1)692692 next = offsetXAD(&p->xad[index + 1]);693693 goto next;694694 }···705705 * base is the smallest index with key (Kj) greater than706706 * search key (K) and may be zero or maxentry index.707707 */708708- if (base < p->header.nextindex)708708+ if (base < le16_to_cpu(p->header.nextindex))709709 next = offsetXAD(&p->xad[base]);710710 /*711711 * search miss - leaf page: