inode.c (0612ec48762bf8712db1925b2e67246d2237ebab) | inode.c (4d81715fc5dfa1680ad47d7edf3ac4a74c5bf104) |
---|---|
1/* 2 * Copyright (C) International Business Machines Corp., 2000-2004 3 * Portions Copyright (C) Christoph Hellwig, 2001-2002 4 * 5 * This program is free software; you can redistribute it and/or modify 6 * it under the terms of the GNU General Public License as published by 7 * the Free Software Foundation; either version 2 of the License, or 8 * (at your option) any later version. --- 213 unchanged lines hidden (view full) --- 222 goto unlock; 223 224 /* 225 * Allocate a new block 226 */ 227#ifdef _JFS_4K 228 if ((rc = extHint(ip, lblock64 << ip->i_sb->s_blocksize_bits, &xad))) 229 goto unlock; | 1/* 2 * Copyright (C) International Business Machines Corp., 2000-2004 3 * Portions Copyright (C) Christoph Hellwig, 2001-2002 4 * 5 * This program is free software; you can redistribute it and/or modify 6 * it under the terms of the GNU General Public License as published by 7 * the Free Software Foundation; either version 2 of the License, or 8 * (at your option) any later version. --- 213 unchanged lines hidden (view full) --- 222 goto unlock; 223 224 /* 225 * Allocate a new block 226 */ 227#ifdef _JFS_4K 228 if ((rc = extHint(ip, lblock64 << ip->i_sb->s_blocksize_bits, &xad))) 229 goto unlock; |
230 rc = extAlloc(ip, xlen, lblock64, &xad, FALSE); | 230 rc = extAlloc(ip, xlen, lblock64, &xad, false); |
231 if (rc) 232 goto unlock; 233 234 set_buffer_new(bh_result); 235 map_bh(bh_result, ip->i_sb, addressXAD(&xad)); 236 bh_result->b_size = lengthXAD(&xad) << ip->i_blkbits; 237 238#else /* _JFS_4K */ --- 127 unchanged lines hidden --- | 231 if (rc) 232 goto unlock; 233 234 set_buffer_new(bh_result); 235 map_bh(bh_result, ip->i_sb, addressXAD(&xad)); 236 bh_result->b_size = lengthXAD(&xad) << ip->i_blkbits; 237 238#else /* _JFS_4K */ --- 127 unchanged lines hidden --- |