Diff for /xfs-linux/xfs_utils.c between versions 1.73 and 1.74

version 1.73, 2007/03/02 02:59:33 version 1.74, 2007/03/10 02:56:10
Line 420  xfs_truncate_file( Line 420  xfs_truncate_file(
          * in a transaction.           * in a transaction.
          */           */
         xfs_ilock(ip, XFS_IOLOCK_EXCL);          xfs_ilock(ip, XFS_IOLOCK_EXCL);
         xfs_itruncate_start(ip, XFS_ITRUNC_DEFINITE, (xfs_fsize_t)0);          error = xfs_itruncate_start(ip, XFS_ITRUNC_DEFINITE, (xfs_fsize_t)0);
           if (error) {
                   xfs_iunlock(ip, XFS_IOLOCK_EXCL);
                   return error;
           }
   
         tp = xfs_trans_alloc(mp, XFS_TRANS_TRUNCATE_FILE);          tp = xfs_trans_alloc(mp, XFS_TRANS_TRUNCATE_FILE);
         if ((error = xfs_trans_reserve(tp, 0, XFS_ITRUNCATE_LOG_RES(mp), 0,          if ((error = xfs_trans_reserve(tp, 0, XFS_ITRUNCATE_LOG_RES(mp), 0,

Removed from v.1.73  
changed lines
  Added in v.1.74


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