aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/quota/xfs_qm.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/xfs/quota/xfs_qm.c')
-rw-r--r--fs/xfs/quota/xfs_qm.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/fs/xfs/quota/xfs_qm.c b/fs/xfs/quota/xfs_qm.c
index 1de2acdc7f70..762af2d1b50f 100644
--- a/fs/xfs/quota/xfs_qm.c
+++ b/fs/xfs/quota/xfs_qm.c
@@ -1453,8 +1453,7 @@ xfs_qm_qino_alloc(
1453 XFS_SB_UNLOCK(mp, s); 1453 XFS_SB_UNLOCK(mp, s);
1454 xfs_mod_sb(tp, sbfields); 1454 xfs_mod_sb(tp, sbfields);
1455 1455
1456 if ((error = xfs_trans_commit(tp, XFS_TRANS_RELEASE_LOG_RES, 1456 if ((error = xfs_trans_commit(tp, XFS_TRANS_RELEASE_LOG_RES))) {
1457 NULL))) {
1458 xfs_fs_cmn_err(CE_ALERT, mp, "XFS qino_alloc failed!"); 1457 xfs_fs_cmn_err(CE_ALERT, mp, "XFS qino_alloc failed!");
1459 return error; 1458 return error;
1460 } 1459 }
@@ -2405,7 +2404,7 @@ xfs_qm_write_sb_changes(
2405 } 2404 }
2406 2405
2407 xfs_mod_sb(tp, flags); 2406 xfs_mod_sb(tp, flags);
2408 (void) xfs_trans_commit(tp, 0, NULL); 2407 (void) xfs_trans_commit(tp, 0);
2409 2408
2410 return 0; 2409 return 0;
2411} 2410}