diff options
author | Christoph Hellwig <hch@lst.de> | 2023-08-02 17:41:30 +0200 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2023-08-11 13:15:04 +0200 |
commit | 8d945b595ed07db13fef1f3311ad456c97941930 (patch) | |
tree | 081d94cc85e1d7f48b68876c5f3c1679e8dd94ee /usr | |
parent | 8bed1783751fc8d0a5a263dcf87838a2fa570953 (diff) |
xfs: drop s_umount over opening the log and RT devices
Just like get_tree_bdev needs to drop s_umount when opening the main
device, we need to do the same for the xfs log and RT devices to avoid a
potential lock order reversal with s_unmount for the mark_dead path.
It might be preferable to just drop s_umount over ->fill_super entirely,
but that will require a fairly massive audit first, so we'll do the easy
version here first.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: "Darrick J. Wong" <djwong@kernel.org>
Message-Id: <20230802154131.2221419-12-hch@lst.de>
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions