diff options
| author | Christoph Hellwig <[email protected]> | 2023-08-09 15:05:38 -0700 |
|---|---|---|
| committer | Christian Brauner <[email protected]> | 2023-08-10 10:34:54 +0200 |
| commit | 35a93b148b0363dca23c3db1cc9d48100eb8b276 (patch) | |
| tree | d7cf3ee01ec49c0903f2450aaebfafdc6b0cfc41 /net/lapb/lapb_iface.c | |
| parent | 41233576e9a4515dc9b0bd1cbbb896b520a1f486 (diff) | |
xfs: close the external block devices in xfs_mount_free
blkdev_put must not be called under sb->s_umount to avoid a lock order
reversal with disk->open_mutex. Move closing the buftargs into ->kill_sb
to archive that. Note that the flushing of the disk caches and
block device mapping invalidated needs to stay in ->put_super as the main
block device is closed in kill_block_super already.
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: "Darrick J. Wong" <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions