ocfs2: stop using bdev->bd_super for journal error logging
authorChristoph Hellwig <hch@lst.de>
Mon, 7 Aug 2023 11:26:24 +0000 (12:26 +0100)
committerChristian Brauner <brauner@kernel.org>
Wed, 9 Aug 2023 06:16:56 +0000 (08:16 +0200)
commit8887b94d93224e0ef7e1bc6369640e313b8b12f4
treed6b142113daf71d64db05c1d2b418eaa531ed9a6
parent01efe93a5aa20a19b390426718dc214898a7c2ec
ocfs2: stop using bdev->bd_super for journal error logging

All ocfs2 journal error handling and logging is based on buffer_heads,
and the owning inode and thus super_block can be retrieved through
bh->b_assoc_map->host.  Switch to using that to remove the last users
of bdev->bd_super.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Joseph Qi <joseph.qi@linux.alibaba.com>
Message-Id: <20230807112625.652089-4-hch@lst.de>
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/ocfs2/journal.c