xfs use fs_holder_ops for the log and RT devices
authorChristoph Hellwig <hch@lst.de>
Wed, 2 Aug 2023 15:41:31 +0000 (17:41 +0200)
committerChristian Brauner <brauner@kernel.org>
Fri, 11 Aug 2023 11:15:04 +0000 (13:15 +0200)
commit8ffa54e3370c5a8b9538dbe4077fc9c4b5a08f45
tree436b4414d0de98994909adcfe2764027aa4ef394
parent8d945b595ed07db13fef1f3311ad456c97941930
xfs use fs_holder_ops for the log and RT devices

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

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: "Darrick J. Wong" <djwong@kernel.org>
Message-Id: <20230802154131.2221419-13-hch@lst.de>
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/xfs/xfs_super.c