You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
[PATCH] regularize blk_cleanup_queue() use
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
+4
-1
@@ -213,8 +213,11 @@ static void mddev_put(mddev_t *mddev)
|
||||
return;
|
||||
if (!mddev->raid_disks && list_empty(&mddev->disks)) {
|
||||
list_del(&mddev->all_mddevs);
|
||||
blk_put_queue(mddev->queue);
|
||||
/* that blocks */
|
||||
blk_cleanup_queue(mddev->queue);
|
||||
/* that also blocks */
|
||||
kobject_unregister(&mddev->kobj);
|
||||
/* result blows... */
|
||||
}
|
||||
spin_unlock(&all_mddevs_lock);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user