Skip to content

Commit

Permalink
[PATCH] md: print correct pid for newly created bitmap-writeback-daemon.
Browse files Browse the repository at this point in the history
The debugging message printed the wrong pid, which didn't help remove bugs....

Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
NeilBrown authored and Linus Torvalds committed Jun 22, 2005
1 parent 5f40402 commit d80a138
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/md/bitmap.c
Original file line number Diff line number Diff line change
Expand Up @@ -1112,7 +1112,7 @@ static int bitmap_start_daemon(struct bitmap *bitmap, mdk_thread_t **ptr,
md_wakeup_thread(daemon); /* start it running */

PRINTK("%s: %s daemon (pid %d) started...\n",
bmname(bitmap), name, bitmap->daemon->tsk->pid);
bmname(bitmap), name, daemon->tsk->pid);
out_unlock:
spin_unlock_irqrestore(&bitmap->lock, flags);
return 0;
Expand Down

0 comments on commit d80a138

Please sign in to comment.