|
|
| version 1.364, 2007/02/07 02:51:56 | version 1.365, 2007/03/02 02:59:33 |
|---|---|
| Line 4071 xfs_bmap_add_attrfork( | Line 4071 xfs_bmap_add_attrfork( |
| } | } |
| if ((error = xfs_bmap_finish(&tp, &flist, &committed))) | if ((error = xfs_bmap_finish(&tp, &flist, &committed))) |
| goto error2; | goto error2; |
| error = xfs_trans_commit(tp, XFS_TRANS_PERM_LOG_RES, NULL); | error = xfs_trans_commit(tp, XFS_TRANS_PERM_LOG_RES); |
| ASSERT(ip->i_df.if_ext_max == | ASSERT(ip->i_df.if_ext_max == |
| XFS_IFORK_DSIZE(ip) / (uint)sizeof(xfs_bmbt_rec_t)); | XFS_IFORK_DSIZE(ip) / (uint)sizeof(xfs_bmbt_rec_t)); |
| return error; | return error; |
| Line 4227 xfs_bmap_finish( | Line 4227 xfs_bmap_finish( |
| logres = ntp->t_log_res; | logres = ntp->t_log_res; |
| logcount = ntp->t_log_count; | logcount = ntp->t_log_count; |
| ntp = xfs_trans_dup(*tp); | ntp = xfs_trans_dup(*tp); |
| error = xfs_trans_commit(*tp, 0, NULL); | error = xfs_trans_commit(*tp, 0); |
| *tp = ntp; | *tp = ntp; |
| *committed = 1; | *committed = 1; |
| /* | /* |