ext4: wire up the ->mark_dead holder operation for log devices
authorChristoph Hellwig <hch@lst.de>
Thu, 1 Jun 2023 09:44:59 +0000 (11:44 +0200)
committerJens Axboe <axboe@kernel.dk>
Mon, 5 Jun 2023 16:53:04 +0000 (10:53 -0600)
commitdd2e31afba9e3a3107aa202726b6199c55075f59
treeb9139847b07f05a899b5fa3e5efafd58c89c94fb
parentf5db130d4443ddf63b49e195782038ebaab0bec9
ext4: wire up the ->mark_dead holder operation for log devices

Implement a set of holder_ops that shut down the file system when the
block device used as log device is removed undeneath the file system.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Jan Kara <jack@suse.cz>
Acked-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Link: https://lore.kernel.org/r/20230601094459.1350643-17-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/ext4/super.c