|
|
| version 1.48, 2006/08/18 04:02:25 | version 1.49, 2007/02/06 14:35:53 |
|---|---|
| Line 542 xfs_iomap_write_direct( | Line 542 xfs_iomap_write_direct( |
| /* | /* |
| * Complete the transaction | * Complete the transaction |
| */ | */ |
| error = xfs_bmap_finish(&tp, &free_list, firstfsb, &committed); | error = xfs_bmap_finish(&tp, &free_list, &committed); |
| if (error) | if (error) |
| goto error0; | goto error0; |
| error = xfs_trans_commit(tp, XFS_TRANS_RELEASE_LOG_RES, NULL); | error = xfs_trans_commit(tp, XFS_TRANS_RELEASE_LOG_RES, NULL); |
| Line 838 xfs_iomap_write_allocate( | Line 838 xfs_iomap_write_allocate( |
| if (error) | if (error) |
| goto trans_cancel; | goto trans_cancel; |
| error = xfs_bmap_finish(&tp, &free_list, | error = xfs_bmap_finish(&tp, &free_list, &committed); |
| first_block, &committed); | |
| if (error) | if (error) |
| goto trans_cancel; | goto trans_cancel; |
| Line 947 xfs_iomap_write_unwritten( | Line 946 xfs_iomap_write_unwritten( |
| if (error) | if (error) |
| goto error_on_bmapi_transaction; | goto error_on_bmapi_transaction; |
| error = xfs_bmap_finish(&(tp), &(free_list), | error = xfs_bmap_finish(&(tp), &(free_list), &committed); |
| firstfsb, &committed); | |
| if (error) | if (error) |
| goto error_on_bmapi_transaction; | goto error_on_bmapi_transaction; |