ext4: use fs_holder_ops for the log device
authorChristoph Hellwig <hch@lst.de>
Wed, 2 Aug 2023 15:41:29 +0000 (17:41 +0200)
committerChristian Brauner <brauner@kernel.org>
Fri, 11 Aug 2023 11:15:04 +0000 (13:15 +0200)
commit8bed1783751fc8d0a5a263dcf87838a2fa570953
tree99fc1eb77e842dc07facb8ae1bb63033bededf6a
parent6f5fc7de98857c75dad05e9f3fe2e6f358d4583e
ext4: use fs_holder_ops for the log device

Use the generic fs_holder_ops to shut down the file system when the
log device goes away instead of duplicating the logic.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Jan Kara <jack@suse.cz>
Message-Id: <20230802154131.2221419-11-hch@lst.de>
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/ext4/super.c