Diff for /xfs-linux/xfs_vnodeops.c between versions 1.687 and 1.688

version 1.687, 2006/11/07 14:40:26 version 1.688, 2007/02/06 14:35:53
Line 1381  xfs_inactive_symlink_rmt( Line 1381  xfs_inactive_symlink_rmt(
         /*          /*
          * Commit the first transaction.  This logs the EFI and the inode.           * Commit the first transaction.  This logs the EFI and the inode.
          */           */
         if ((error = xfs_bmap_finish(&tp, &free_list, first_block, &committed)))          if ((error = xfs_bmap_finish(&tp, &free_list, &committed)))
                 goto error1;                  goto error1;
         /*          /*
          * The transaction must have been committed, since there were           * The transaction must have been committed, since there were
Line 1790  xfs_inactive( Line 1790  xfs_inactive(
                  * Just ignore errors at this point.  There is                   * Just ignore errors at this point.  There is
                  * nothing we can do except to try to keep going.                   * nothing we can do except to try to keep going.
                  */                   */
                 (void) xfs_bmap_finish(&tp,  &free_list, first_block,                  (void) xfs_bmap_finish(&tp,  &free_list, &committed);
                                        &committed);  
                 (void) xfs_trans_commit(tp, XFS_TRANS_RELEASE_LOG_RES, NULL);                  (void) xfs_trans_commit(tp, XFS_TRANS_RELEASE_LOG_RES, NULL);
         }          }
         /*          /*
Line 2022  xfs_create( Line 2021  xfs_create(
         IHOLD(ip);          IHOLD(ip);
         vp = XFS_ITOV(ip);          vp = XFS_ITOV(ip);
   
         error = xfs_bmap_finish(&tp, &free_list, first_block, &committed);          error = xfs_bmap_finish(&tp, &free_list, &committed);
         if (error) {          if (error) {
                 xfs_bmap_cancel(&free_list);                  xfs_bmap_cancel(&free_list);
                 goto abort_rele;                  goto abort_rele;
Line 2507  xfs_remove( Line 2506  xfs_remove(
                 xfs_trans_set_sync(tp);                  xfs_trans_set_sync(tp);
         }          }
   
         error = xfs_bmap_finish(&tp, &free_list, first_block, &committed);          error = xfs_bmap_finish(&tp, &free_list, &committed);
         if (error) {          if (error) {
                 REMOVE_DEBUG_TRACE(__LINE__);                  REMOVE_DEBUG_TRACE(__LINE__);
                 goto error_rele;                  goto error_rele;
Line 2715  xfs_link( Line 2714  xfs_link(
                 xfs_trans_set_sync(tp);                  xfs_trans_set_sync(tp);
         }          }
   
         error = xfs_bmap_finish (&tp, &free_list, first_block, &committed);          error = xfs_bmap_finish (&tp, &free_list, &committed);
         if (error) {          if (error) {
                 xfs_bmap_cancel(&free_list);                  xfs_bmap_cancel(&free_list);
                 goto abort_return;                  goto abort_return;
Line 2932  xfs_mkdir( Line 2931  xfs_mkdir(
                 xfs_trans_set_sync(tp);                  xfs_trans_set_sync(tp);
         }          }
   
         error = xfs_bmap_finish(&tp, &free_list, first_block, &committed);          error = xfs_bmap_finish(&tp, &free_list, &committed);
         if (error) {          if (error) {
                 IRELE(cdp);                  IRELE(cdp);
                 goto error2;                  goto error2;
Line 3183  xfs_rmdir( Line 3182  xfs_rmdir(
                 xfs_trans_set_sync(tp);                  xfs_trans_set_sync(tp);
         }          }
   
         error = xfs_bmap_finish (&tp, &free_list, first_block, &committed);          error = xfs_bmap_finish (&tp, &free_list, &committed);
         if (error) {          if (error) {
                 xfs_bmap_cancel(&free_list);                  xfs_bmap_cancel(&free_list);
                 xfs_trans_cancel(tp, (XFS_TRANS_RELEASE_LOG_RES |                  xfs_trans_cancel(tp, (XFS_TRANS_RELEASE_LOG_RES |
Line 3533  xfs_symlink( Line 3532  xfs_symlink(
          */           */
         IHOLD(ip);          IHOLD(ip);
   
         error = xfs_bmap_finish(&tp, &free_list, first_block, &committed);          error = xfs_bmap_finish(&tp, &free_list, &committed);
         if (error) {          if (error) {
                 goto error2;                  goto error2;
         }          }
Line 4145  retry: Line 4144  retry:
                 /*                  /*
                  * 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;
                 }                  }
Line 4452  xfs_free_file_space( Line 4451  xfs_free_file_space(
                 /*                  /*
                  * 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;
                 }                  }

Removed from v.1.687  
changed lines
  Added in v.1.688


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>