Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 40643
b: refs/heads/master
c: 7870db4
h: refs/heads/master
i:
  40641: c420ae6
  40639: 904cf75
v: v3
  • Loading branch information
NeilBrown authored and Linus Torvalds committed Nov 3, 2006
1 parent fd3fabd commit f0d34f5
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: df66b8552be5fdab5c4b4d53ee08b99388b9bd02
refs/heads/master: 7870db4c7fa1b03fec133c4f4e67fdaa04c5ac15
2 changes: 2 additions & 0 deletions trunk/drivers/md/md.c
Original file line number Diff line number Diff line change
Expand Up @@ -3200,6 +3200,7 @@ static int do_md_run(mddev_t * mddev)

mddev->changed = 1;
md_new_event(mddev);
kobject_uevent(&mddev->gendisk->kobj, KOBJ_ONLINE);
return 0;
}

Expand Down Expand Up @@ -3313,6 +3314,7 @@ static int do_md_stop(mddev_t * mddev, int mode)

module_put(mddev->pers->owner);
mddev->pers = NULL;
kobject_uevent(&mddev->gendisk->kobj, KOBJ_OFFLINE);
if (mddev->ro)
mddev->ro = 0;
}
Expand Down

0 comments on commit f0d34f5

Please sign in to comment.