Re: [PATCH 1/3] btrfs: call btrfs_close_devices from ->kill_sb

2023-12-15 Thread Josef Bacik
On Wed, Dec 13, 2023 at 09:41:23AM +0100, Christoph Hellwig wrote: > On Tue, Dec 12, 2023 at 08:00:16PM -0800, Eric Biggers wrote: > > From: Christoph Hellwig > > > > blkdev_put must not be called under sb->s_umount to avoid a lock order > > reversal with disk->open_mutex once call backs from blo

Re: [PATCH 1/3] btrfs: call btrfs_close_devices from ->kill_sb

2023-12-13 Thread Christoph Hellwig
On Tue, Dec 12, 2023 at 08:00:16PM -0800, Eric Biggers wrote: > From: Christoph Hellwig > > blkdev_put must not be called under sb->s_umount to avoid a lock order > reversal with disk->open_mutex once call backs from block devices to > the file system using the holder ops are supported. Move the