ext4: don't use bdev->bd_super in __ext4_journal_get_write_access
authorChristoph Hellwig <hch@lst.de>
Mon, 7 Aug 2023 11:26:23 +0000 (12:26 +0100)
committerChristian Brauner <brauner@kernel.org>
Wed, 9 Aug 2023 06:16:55 +0000 (08:16 +0200)
commit01efe93a5aa20a19b390426718dc214898a7c2ec
tree7dbdef1095c1f5a85f1df7add49627d7e25437d3
parent4b2201dad26742c92decd920471b7185088624f5
ext4: don't use bdev->bd_super in __ext4_journal_get_write_access

__ext4_journal_get_write_access already has a super_block available,
and there is no need to go from that to the bdev to go back to the
owning super_block.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Message-Id: <20230807112625.652089-3-hch@lst.de>
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/ext4/ext4_jbd2.c