[XFS] The last argument "lsn" of xfs_trans_commit() is always called with
[linux-drm-fsl-dcu.git] / fs / xfs / quota / xfs_qm.c
index 1de2acdc7f70eab902b24c403b54962bb6b95d74..762af2d1b50f86f3483fa81eb1f2c63dbf5d05a3 100644 (file)
@@ -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;
 }