aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_mount.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/xfs/xfs_mount.c')
-rw-r--r--fs/xfs/xfs_mount.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/xfs/xfs_mount.c b/fs/xfs/xfs_mount.c
index d95bd1809f3c..bb0154047e85 100644
--- a/fs/xfs/xfs_mount.c
+++ b/fs/xfs/xfs_mount.c
@@ -665,7 +665,7 @@ xfs_readsb(xfs_mount_t *mp, int flags)
665 * access to the superblock. 665 * access to the superblock.
666 */ 666 */
667 sector_size = xfs_getsize_buftarg(mp->m_ddev_targp); 667 sector_size = xfs_getsize_buftarg(mp->m_ddev_targp);
668 extra_flags = XFS_BUF_LOCK | XFS_BUF_MANAGE | XFS_BUF_MAPPED; 668 extra_flags = XBF_LOCK | XBF_FS_MANAGED | XBF_MAPPED;
669 669
670 bp = xfs_buf_read(mp->m_ddev_targp, XFS_SB_DADDR, BTOBB(sector_size), 670 bp = xfs_buf_read(mp->m_ddev_targp, XFS_SB_DADDR, BTOBB(sector_size),
671 extra_flags); 671 extra_flags);
@@ -1969,7 +1969,7 @@ xfs_getsb(
1969 1969
1970 ASSERT(mp->m_sb_bp != NULL); 1970 ASSERT(mp->m_sb_bp != NULL);
1971 bp = mp->m_sb_bp; 1971 bp = mp->m_sb_bp;
1972 if (flags & XFS_BUF_TRYLOCK) { 1972 if (flags & XBF_TRYLOCK) {
1973 if (!XFS_BUF_CPSEMA(bp)) { 1973 if (!XFS_BUF_CPSEMA(bp)) {
1974 return NULL; 1974 return NULL;
1975 } 1975 }