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.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/fs/xfs/xfs_fsops.c b/fs/xfs/xfs_fsops.c
index f35f8d7731f0..cb65b067ed31 100644
--- a/fs/xfs/xfs_fsops.c
+++ b/fs/xfs/xfs_fsops.c
@@ -444,7 +444,8 @@ xfs_growfs_data_private(
444 if (agno < oagcount) { 444 if (agno < oagcount) {
445 error = xfs_trans_read_buf(mp, NULL, mp->m_ddev_targp, 445 error = xfs_trans_read_buf(mp, NULL, mp->m_ddev_targp,
446 XFS_AGB_TO_DADDR(mp, agno, XFS_SB_BLOCK(mp)), 446 XFS_AGB_TO_DADDR(mp, agno, XFS_SB_BLOCK(mp)),
447 XFS_FSS_TO_BB(mp, 1), 0, &bp, NULL); 447 XFS_FSS_TO_BB(mp, 1), 0, &bp,
448 xfs_sb_read_verify);
448 } else { 449 } else {
449 bp = xfs_trans_get_buf(NULL, mp->m_ddev_targp, 450 bp = xfs_trans_get_buf(NULL, mp->m_ddev_targp,
450 XFS_AGB_TO_DADDR(mp, agno, XFS_SB_BLOCK(mp)), 451 XFS_AGB_TO_DADDR(mp, agno, XFS_SB_BLOCK(mp)),
@@ -462,6 +463,7 @@ xfs_growfs_data_private(
462 break; 463 break;
463 } 464 }
464 xfs_sb_to_disk(XFS_BUF_TO_SBP(bp), &mp->m_sb, XFS_SB_ALL_BITS); 465 xfs_sb_to_disk(XFS_BUF_TO_SBP(bp), &mp->m_sb, XFS_SB_ALL_BITS);
466
465 /* 467 /*
466 * If we get an error writing out the alternate superblocks, 468 * If we get an error writing out the alternate superblocks,
467 * just issue a warning and continue. The real work is 469 * just issue a warning and continue. The real work is