xfs: wire up the ->mark_dead holder operation for log and RT devices
authorChristoph Hellwig <hch@lst.de>
Thu, 1 Jun 2023 09:44:56 +0000 (11:44 +0200)
committerJens Axboe <axboe@kernel.dk>
Mon, 5 Jun 2023 16:53:04 +0000 (10:53 -0600)
commit8067ca1dcdfcc2a5e0a51bff3730ad3eef0623d6
tree7a885bdaebb79884a272480e93e2c12395595457
parente7caa877e5ddac63886f4a8376cb3ffbd4dfe569
xfs: wire up the ->mark_dead holder operation for log and RT devices

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

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Acked-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Link: https://lore.kernel.org/r/20230601094459.1350643-14-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/xfs/xfs_super.c