Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Automatic merge of rsync://rsync.kernel.org/pub/scm/linux/kernel/git/shaggy/jfs-2.6.git/

+3 -3
+3 -3
fs/jfs/jfs_xtree.c
··· 1 1 /* 2 - * Copyright (C) International Business Machines Corp., 2000-2004 2 + * Copyright (C) International Business Machines Corp., 2000-2005 3 3 * 4 4 * This program is free software; you can redistribute it and/or modify 5 5 * it under the terms of the GNU General Public License as published by ··· 688 688 /* search hit - internal page: 689 689 * descend/search its child page 690 690 */ 691 - if (index < p->header.nextindex - 1) 691 + if (index < le16_to_cpu(p->header.nextindex)-1) 692 692 next = offsetXAD(&p->xad[index + 1]); 693 693 goto next; 694 694 } ··· 705 705 * base is the smallest index with key (Kj) greater than 706 706 * search key (K) and may be zero or maxentry index. 707 707 */ 708 - if (base < p->header.nextindex) 708 + if (base < le16_to_cpu(p->header.nextindex)) 709 709 next = offsetXAD(&p->xad[base]); 710 710 /* 711 711 * search miss - leaf page: