diff options
author | Chandra Seetharaman <sekharan@us.ibm.com> | 2012-01-23 17:31:37 +0000 |
---|---|---|
committer | Ben Myers <bpm@sgi.com> | 2012-02-03 11:21:33 -0600 |
commit | 6bd92a239fc71ea26eb1dab3aece5eaaa99d4ef7 (patch) | |
tree | 675da1fb11cb8e36edbfb098ac07c0861f6b51f2 /fs/xfs/xfs_log_recover.c | |
parent | 36731410834e08c7d15c3980abd6cc4c563c2e87 (diff) | |
download | blackbird-op-linux-6bd92a239fc71ea26eb1dab3aece5eaaa99d4ef7.tar.gz blackbird-op-linux-6bd92a239fc71ea26eb1dab3aece5eaaa99d4ef7.zip |
Change xfs_sb_from_disk() interface to take a mount pointer
Change xfs_sb_from_disk() interface to take a mount pointer
instead of a superblock pointer.
This is to print mount point specific error messages in future
fixes.
Signed-off-by: Chandra Seetharaman <sekharan@us.ibm.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Ben Myers <bpm@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_log_recover.c')
-rw-r--r-- | fs/xfs/xfs_log_recover.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_log_recover.c b/fs/xfs/xfs_log_recover.c index 15ff5392fb65..403825eb5c16 100644 --- a/fs/xfs/xfs_log_recover.c +++ b/fs/xfs/xfs_log_recover.c @@ -3695,7 +3695,7 @@ xlog_do_recover( /* Convert superblock from on-disk format */ sbp = &log->l_mp->m_sb; - xfs_sb_from_disk(sbp, XFS_BUF_TO_SBP(bp)); + xfs_sb_from_disk(log->l_mp, XFS_BUF_TO_SBP(bp)); ASSERT(sbp->sb_magicnum == XFS_SB_MAGIC); ASSERT(xfs_sb_good_version(sbp)); xfs_buf_relse(bp); |