Diff for /xfs-linux/xfs_attr.c between versions 1.142 and 1.143

version 1.142, 2007/02/06 14:35:53 version 1.143, 2007/03/02 02:59:33
Line 328  xfs_attr_set_int(xfs_inode_t *dp, const  Line 328  xfs_attr_set_int(xfs_inode_t *dp, const 
                                 xfs_trans_set_sync(args.trans);                                  xfs_trans_set_sync(args.trans);
                         }                          }
                         err2 = xfs_trans_commit(args.trans,                          err2 = xfs_trans_commit(args.trans,
                                                  XFS_TRANS_RELEASE_LOG_RES,                                                   XFS_TRANS_RELEASE_LOG_RES);
                                                  NULL);  
                         xfs_iunlock(dp, XFS_ILOCK_EXCL);                          xfs_iunlock(dp, XFS_ILOCK_EXCL);
   
                         /*                          /*
Line 397  xfs_attr_set_int(xfs_inode_t *dp, const  Line 396  xfs_attr_set_int(xfs_inode_t *dp, const 
          * Commit the last in the sequence of transactions.           * Commit the last in the sequence of transactions.
          */           */
         xfs_trans_log_inode(args.trans, dp, XFS_ILOG_CORE);          xfs_trans_log_inode(args.trans, dp, XFS_ILOG_CORE);
         error = xfs_trans_commit(args.trans, XFS_TRANS_RELEASE_LOG_RES,          error = xfs_trans_commit(args.trans, XFS_TRANS_RELEASE_LOG_RES);
                                  NULL);  
         xfs_iunlock(dp, XFS_ILOCK_EXCL);          xfs_iunlock(dp, XFS_ILOCK_EXCL);
   
         /*          /*
Line 544  xfs_attr_remove_int(xfs_inode_t *dp, con Line 542  xfs_attr_remove_int(xfs_inode_t *dp, con
          * Commit the last in the sequence of transactions.           * Commit the last in the sequence of transactions.
          */           */
         xfs_trans_log_inode(args.trans, dp, XFS_ILOG_CORE);          xfs_trans_log_inode(args.trans, dp, XFS_ILOG_CORE);
         error = xfs_trans_commit(args.trans, XFS_TRANS_RELEASE_LOG_RES,          error = xfs_trans_commit(args.trans, XFS_TRANS_RELEASE_LOG_RES);
                                  NULL);  
         xfs_iunlock(dp, XFS_ILOCK_EXCL);          xfs_iunlock(dp, XFS_ILOCK_EXCL);
   
         /*          /*
Line 859  xfs_attr_inactive(xfs_inode_t *dp) Line 856  xfs_attr_inactive(xfs_inode_t *dp)
          * Commit the last in the sequence of transactions.           * Commit the last in the sequence of transactions.
          */           */
         xfs_trans_log_inode(trans, dp, XFS_ILOG_CORE);          xfs_trans_log_inode(trans, dp, XFS_ILOG_CORE);
         error = xfs_trans_commit(trans, XFS_TRANS_RELEASE_LOG_RES,          error = xfs_trans_commit(trans, XFS_TRANS_RELEASE_LOG_RES);
                                  NULL);  
         xfs_iunlock(dp, XFS_ILOCK_EXCL);          xfs_iunlock(dp, XFS_ILOCK_EXCL);
   
         return(error);          return(error);

Removed from v.1.142  
changed lines
  Added in v.1.143


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