Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 24940
b: refs/heads/master
c: 926ce2d
h: refs/heads/master
v: v3
  • Loading branch information
NeilBrown authored and Linus Torvalds committed Mar 31, 2006
1 parent 78dcb50 commit 642d1b4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6b1117d50543e2484bee037ec2589fe52492a7e7
refs/heads/master: 926ce2d8a7d446c720faec9d8c5105eeb04bcf7a
8 changes: 3 additions & 5 deletions trunk/drivers/md/md.c
Original file line number Diff line number Diff line change
Expand Up @@ -215,13 +215,11 @@ static void mddev_put(mddev_t *mddev)
return;
if (!mddev->raid_disks && list_empty(&mddev->disks)) {
list_del(&mddev->all_mddevs);
/* that blocks */
spin_unlock(&all_mddevs_lock);
blk_cleanup_queue(mddev->queue);
/* that also blocks */
kobject_unregister(&mddev->kobj);
/* result blows... */
}
spin_unlock(&all_mddevs_lock);
} else
spin_unlock(&all_mddevs_lock);
}

static mddev_t * mddev_find(dev_t unit)
Expand Down

0 comments on commit 642d1b4

Please sign in to comment.