aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_log.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/xfs/xfs_log.c')
-rw-r--r--fs/xfs/xfs_log.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/xfs/xfs_log.c b/fs/xfs/xfs_log.c
index 98a9cb5ffd17..6db1fef38bff 100644
--- a/fs/xfs/xfs_log.c
+++ b/fs/xfs/xfs_log.c
@@ -726,8 +726,9 @@ xfs_log_unmount_write(xfs_mount_t *mp)
726 .lv_iovecp = &reg, 726 .lv_iovecp = &reg,
727 }; 727 };
728 728
729 /* remove inited flag */ 729 /* remove inited flag, and account for space used */
730 tic->t_flags = 0; 730 tic->t_flags = 0;
731 tic->t_curr_res -= sizeof(magic);
731 error = xlog_write(log, &vec, tic, &lsn, 732 error = xlog_write(log, &vec, tic, &lsn,
732 NULL, XLOG_UNMOUNT_TRANS); 733 NULL, XLOG_UNMOUNT_TRANS);
733 /* 734 /*