Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 139923
b: refs/heads/master
c: e0cf8f0
h: refs/heads/master
i:
  139921: 790b049
  139919: 2883b2c
v: v3
  • Loading branch information
NeilBrown committed Mar 31, 2009
1 parent 2401120 commit 2d3cb18
Show file tree
Hide file tree
Showing 3 changed files with 4 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: 91adb56473febeeb3ef657bb5147ddd355465700
refs/heads/master: e0cf8f045b2023b0b3f919ee93eb94345f648434
2 changes: 2 additions & 0 deletions trunk/drivers/md/md.c
Original file line number Diff line number Diff line change
Expand Up @@ -5382,6 +5382,8 @@ mdk_thread_t *md_register_thread(void (*run) (mddev_t *), mddev_t *mddev,

void md_unregister_thread(mdk_thread_t *thread)
{
if (!thread)
return;
dprintk("interrupting MD-thread pid %d\n", task_pid_nr(thread->tsk));

kthread_stop(thread->tsk);
Expand Down
3 changes: 1 addition & 2 deletions trunk/drivers/md/raid5.c
Original file line number Diff line number Diff line change
Expand Up @@ -4463,8 +4463,7 @@ static int run(mddev_t *mddev)

return 0;
abort:
if (mddev->thread)
md_unregister_thread(mddev->thread);
md_unregister_thread(mddev->thread);
mddev->thread = NULL;
if (conf) {
shrink_stripes(conf);
Expand Down

0 comments on commit 2d3cb18

Please sign in to comment.