Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 40826
b: refs/heads/master
c: 2f47130
h: refs/heads/master
v: v3
  • Loading branch information
NeilBrown authored and Linus Torvalds committed Nov 9, 2006
1 parent 9ee7ee0 commit f930c33
Show file tree
Hide file tree
Showing 2 changed files with 2 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: b5b9df697b166948f2770fb65d1b8809637a199b
refs/heads/master: 2f4713036114dd13d1f4fe433b7f236250b65f5a
3 changes: 1 addition & 2 deletions trunk/drivers/md/md.c
Original file line number Diff line number Diff line change
Expand Up @@ -3200,7 +3200,7 @@ static int do_md_run(mddev_t * mddev)

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

Expand Down Expand Up @@ -3314,7 +3314,6 @@ 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 f930c33

Please sign in to comment.