jfs_xtree.c (3d5271f9883cba7b54762bc4fe027d4172f06db7) | jfs_xtree.c (4d81715fc5dfa1680ad47d7edf3ac4a74c5bf104) |
---|---|
1/* 2 * Copyright (C) International Business Machines Corp., 2000-2005 3 * 4 * This program is free software; you can redistribute it and/or modify 5 * it under the terms of the GNU General Public License as published by 6 * the Free Software Foundation; either version 2 of the License, or 7 * (at your option) any later version. 8 * --- 2950 unchanged lines hidden (view full) --- 2959 assert(addressPXD(&cp->cm_pxd) == sxaddr); 2960 assert(!cp->cm_modified); 2961 2962 /* bind buffer with the new extent address */ 2963 nblks = nb >> JFS_IP(ip->i_sb)->l2bsize; 2964 cmSetXD(ip, cp, pno, dxaddr, nblks); 2965 2966 /* release the cbuf, mark it as modified */ | 1/* 2 * Copyright (C) International Business Machines Corp., 2000-2005 3 * 4 * This program is free software; you can redistribute it and/or modify 5 * it under the terms of the GNU General Public License as published by 6 * the Free Software Foundation; either version 2 of the License, or 7 * (at your option) any later version. 8 * --- 2950 unchanged lines hidden (view full) --- 2959 assert(addressPXD(&cp->cm_pxd) == sxaddr); 2960 assert(!cp->cm_modified); 2961 2962 /* bind buffer with the new extent address */ 2963 nblks = nb >> JFS_IP(ip->i_sb)->l2bsize; 2964 cmSetXD(ip, cp, pno, dxaddr, nblks); 2965 2966 /* release the cbuf, mark it as modified */ |
2967 cmPut(cp, TRUE); | 2967 cmPut(cp, true); |
2968 2969 dxaddr += nblks; 2970 sxaddr += nblks; 2971 } 2972 2973 /* get back parent page */ 2974 if ((rc = xtSearch(ip, xoff, NULL, &cmp, &btstack, 0))) 2975 return rc; --- 1191 unchanged lines hidden --- | 2968 2969 dxaddr += nblks; 2970 sxaddr += nblks; 2971 } 2972 2973 /* get back parent page */ 2974 if ((rc = xtSearch(ip, xoff, NULL, &cmp, &btstack, 0))) 2975 return rc; --- 1191 unchanged lines hidden --- |