resize.c (cb5629b10d64a8006622ce3a52bc887d91057d69) | resize.c (8cb471e8f82506937fe5e2e9fb0bf90f6b1f1170) |
---|---|
1/* -*- mode: c; c-basic-offset: 8; -*- 2 * vim: noexpandtab sw=8 ts=8 sts=0: 3 * 4 * resize.c 5 * 6 * volume resize. 7 * Inspired by ext3/resize.c. 8 * --- 500 unchanged lines hidden (view full) --- 509 510 ret = ocfs2_read_blocks_sync(osb, input->group, 1, &group_bh); 511 if (ret < 0) { 512 mlog(ML_ERROR, "Can't read the group descriptor # %llu " 513 "from the device.", (unsigned long long)input->group); 514 goto out_unlock; 515 } 516 | 1/* -*- mode: c; c-basic-offset: 8; -*- 2 * vim: noexpandtab sw=8 ts=8 sts=0: 3 * 4 * resize.c 5 * 6 * volume resize. 7 * Inspired by ext3/resize.c. 8 * --- 500 unchanged lines hidden (view full) --- 509 510 ret = ocfs2_read_blocks_sync(osb, input->group, 1, &group_bh); 511 if (ret < 0) { 512 mlog(ML_ERROR, "Can't read the group descriptor # %llu " 513 "from the device.", (unsigned long long)input->group); 514 goto out_unlock; 515 } 516 |
517 ocfs2_set_new_buffer_uptodate(inode, group_bh); | 517 ocfs2_set_new_buffer_uptodate(INODE_CACHE(inode), group_bh); |
518 519 ret = ocfs2_verify_group_and_input(main_bm_inode, fe, input, group_bh); 520 if (ret) { 521 mlog_errno(ret); 522 goto out_unlock; 523 } 524 525 mlog(0, "Add a new group %llu in chain = %u, length = %u\n", --- 76 unchanged lines hidden --- | 518 519 ret = ocfs2_verify_group_and_input(main_bm_inode, fe, input, group_bh); 520 if (ret) { 521 mlog_errno(ret); 522 goto out_unlock; 523 } 524 525 mlog(0, "Add a new group %llu in chain = %u, length = %u\n", --- 76 unchanged lines hidden --- |