From b64a4c6effac1b9cda7db05c97a8a70d1495e0ab Mon Sep 17 00:00:00 2001 From: Dave Chinner Date: Thu, 22 Mar 2012 05:15:11 +0000 Subject: [PATCH] --- yaml --- r: 297217 b: refs/heads/master c: 3948659e30808fbaa7673bbe89de2ae9769e20a7 h: refs/heads/master i: 297215: b46e23fb6edfec3de0e4bc1c8aaa835c7c80aad4 v: v3 --- [refs] | 2 +- trunk/fs/xfs/xfs_log.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index acefc73a40a5..a8ddb6414a7d 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 5132ba8f2b7705fb6b06fa6ad3d009233c816b67 +refs/heads/master: 3948659e30808fbaa7673bbe89de2ae9769e20a7 diff --git a/trunk/fs/xfs/xfs_log.c b/trunk/fs/xfs/xfs_log.c index 98a9cb5ffd17..6db1fef38bff 100644 --- a/trunk/fs/xfs/xfs_log.c +++ b/trunk/fs/xfs/xfs_log.c @@ -726,8 +726,9 @@ xfs_log_unmount_write(xfs_mount_t *mp) .lv_iovecp = ®, }; - /* remove inited flag */ + /* remove inited flag, and account for space used */ tic->t_flags = 0; + tic->t_curr_res -= sizeof(magic); error = xlog_write(log, &vec, tic, &lsn, NULL, XLOG_UNMOUNT_TRANS); /*