diff options
| author | Christoph Hellwig <[email protected]> | 2023-10-17 18:48:21 +0000 |
|---|---|---|
| committer | Christian Brauner <[email protected]> | 2023-10-28 11:29:23 +0000 |
| commit | 6e57236ed6e070607868da70fac3d52ae24e5417 (patch) | |
| tree | c8ded2d5e3ead036b4c91f89c02c7fe844a2af04 /drivers/net/ethernet/intel/igc | |
| parent | block: WARN_ON_ONCE() when we remove active partitions (diff) | |
| download | kernel-6e57236ed6e070607868da70fac3d52ae24e5417.tar.gz kernel-6e57236ed6e070607868da70fac3d52ae24e5417.zip | |
block: move bdev_mark_dead out of disk_check_media_change
disk_check_media_change is mostly called from ->open where it makes
little sense to mark the file system on the device as dead, as we
are just opening it. So instead of calling bdev_mark_dead from
disk_check_media_change move it into the few callers that are not
in an open instance. This avoid calling into bdev_mark_dead and
thus taking s_umount with open_mutex held.
Signed-off-by: Christoph Hellwig <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Ming Lei <[email protected]>
Reviewed-by: Christian Brauner <[email protected]>
Reviewed-by: Jan Kara <[email protected]>
Reviewed-by: Jens Axboe <[email protected]>
Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/igc')
0 files changed, 0 insertions, 0 deletions
