Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 154710
b: refs/heads/master
c: 1ec22eb
h: refs/heads/master
v: v3
  • Loading branch information
NeilBrown committed Jul 1, 2009
1 parent f4ff9ba commit 03cae05
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b8d966efd9a46a9a35beac50cbff6e30565125ef
refs/heads/master: 1ec22eb2b4a2e1a763106bce36b11c02eaa84e61
2 changes: 2 additions & 0 deletions trunk/drivers/md/md.c
Original file line number Diff line number Diff line change
Expand Up @@ -3862,6 +3862,8 @@ static int md_alloc(dev_t dev, char *name)
if (mddev2->gendisk &&
strcmp(mddev2->gendisk->disk_name, name) == 0) {
spin_unlock(&all_mddevs_lock);
mutex_unlock(&disks_mutex);
mddev_put(mddev);
return -EEXIST;
}
spin_unlock(&all_mddevs_lock);
Expand Down

0 comments on commit 03cae05

Please sign in to comment.