aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_fsops.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/xfs/xfs_fsops.c')
-rw-r--r--fs/xfs/xfs_fsops.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/fs/xfs/xfs_fsops.c b/fs/xfs/xfs_fsops.c
index fdc64220fcb0..82af857405af 100644
--- a/fs/xfs/xfs_fsops.c
+++ b/fs/xfs/xfs_fsops.c
@@ -541,7 +541,7 @@ xfs_growfs_data_private(
541 saved_error = error; 541 saved_error = error;
542 continue; 542 continue;
543 } 543 }
544 xfs_sb_to_disk(XFS_BUF_TO_SBP(bp), &mp->m_sb, XFS_SB_ALL_BITS); 544 xfs_sb_to_disk(XFS_BUF_TO_SBP(bp), &mp->m_sb);
545 545
546 error = xfs_bwrite(bp); 546 error = xfs_bwrite(bp);
547 xfs_buf_relse(bp); 547 xfs_buf_relse(bp);
@@ -780,9 +780,7 @@ xfs_fs_log_dummy(
780 xfs_trans_cancel(tp, 0); 780 xfs_trans_cancel(tp, 0);
781 return error; 781 return error;
782 } 782 }
783 783 xfs_mod_sb(tp);
784 /* log the UUID because it is an unchanging field */
785 xfs_mod_sb(tp, XFS_SB_UUID);
786 xfs_trans_set_sync(tp); 784 xfs_trans_set_sync(tp);
787 return xfs_trans_commit(tp, 0); 785 return xfs_trans_commit(tp, 0);
788} 786}