[XFS] The last argument "lsn" of xfs_trans_commit() is always called with
NULL. Patch provided by Eric Sandeen. SGI-PV: 961693 SGI-Modid: xfs-linux-melb:xfs-kern:28199a Signed-off-by: Eric Sandeen <sandeen@sandeen.net> Signed-off-by: Lachlan McIlroy <lachlan@sgi.com> Signed-off-by: Tim Shimmin <tes@sgi.com>
Tento commit je obsažen v:
@@ -753,8 +753,7 @@ xfs_qm_idtodq(
|
||||
goto error0;
|
||||
}
|
||||
if (tp) {
|
||||
if ((error = xfs_trans_commit(tp, XFS_TRANS_RELEASE_LOG_RES,
|
||||
NULL)))
|
||||
if ((error = xfs_trans_commit(tp, XFS_TRANS_RELEASE_LOG_RES)))
|
||||
goto error1;
|
||||
}
|
||||
|
||||
|
@@ -1453,8 +1453,7 @@ xfs_qm_qino_alloc(
|
||||
XFS_SB_UNLOCK(mp, s);
|
||||
xfs_mod_sb(tp, sbfields);
|
||||
|
||||
if ((error = xfs_trans_commit(tp, XFS_TRANS_RELEASE_LOG_RES,
|
||||
NULL))) {
|
||||
if ((error = xfs_trans_commit(tp, XFS_TRANS_RELEASE_LOG_RES))) {
|
||||
xfs_fs_cmn_err(CE_ALERT, mp, "XFS qino_alloc failed!");
|
||||
return error;
|
||||
}
|
||||
@@ -2405,7 +2404,7 @@ xfs_qm_write_sb_changes(
|
||||
}
|
||||
|
||||
xfs_mod_sb(tp, flags);
|
||||
(void) xfs_trans_commit(tp, 0, NULL);
|
||||
(void) xfs_trans_commit(tp, 0);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
@@ -735,7 +735,7 @@ xfs_qm_scall_setqlim(
|
||||
xfs_trans_log_dquot(tp, dqp);
|
||||
|
||||
xfs_dqtrace_entry(dqp, "Q_SETQLIM: COMMIT");
|
||||
xfs_trans_commit(tp, 0, NULL);
|
||||
xfs_trans_commit(tp, 0);
|
||||
xfs_qm_dqprint(dqp);
|
||||
xfs_qm_dqrele(dqp);
|
||||
mutex_unlock(&(XFS_QI_QOFFLOCK(mp)));
|
||||
@@ -809,7 +809,7 @@ xfs_qm_log_quotaoff_end(
|
||||
* We don't care about quotoff's performance.
|
||||
*/
|
||||
xfs_trans_set_sync(tp);
|
||||
error = xfs_trans_commit(tp, 0, NULL);
|
||||
error = xfs_trans_commit(tp, 0);
|
||||
return (error);
|
||||
}
|
||||
|
||||
@@ -852,7 +852,7 @@ xfs_qm_log_quotaoff(
|
||||
* We don't care about quotoff's performance.
|
||||
*/
|
||||
xfs_trans_set_sync(tp);
|
||||
error = xfs_trans_commit(tp, 0, NULL);
|
||||
error = xfs_trans_commit(tp, 0);
|
||||
|
||||
error0:
|
||||
if (error) {
|
||||
|
Odkázat v novém úkolu
Zablokovat Uživatele