Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 98593
b: refs/heads/master
c: 9bbbca3
h: refs/heads/master
i:
  98591: cd2a8d4
v: v3
  • Loading branch information
Neil Brown committed Jun 27, 2008
1 parent bcd1542 commit 90ae226
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 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: efe311431869b40d67911820a309f9a1a41306f3
refs/heads/master: 9bbbca3a0ee09293108b67835c6bdf6196d7bcb3
6 changes: 4 additions & 2 deletions trunk/drivers/md/md.c
Original file line number Diff line number Diff line change
Expand Up @@ -3897,8 +3897,10 @@ static void autorun_devices(int part)

md_probe(dev, NULL, NULL);
mddev = mddev_find(dev);
if (!mddev) {
printk(KERN_ERR
if (!mddev || !mddev->gendisk) {
if (mddev)
mddev_put(mddev);
printk(KERN_ERR
"md: cannot allocate memory for md drive.\n");
break;
}
Expand Down

0 comments on commit 90ae226

Please sign in to comment.