diff options
author | NeilBrown <neilb@cse.unsw.edu.au> | 2005-06-21 20:17:17 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-21 22:07:44 -0400 |
commit | d80a138c013f81c1b9383c83983934e34e380a2d (patch) | |
tree | 883556cee59c122c318844169d2c9a944e0e1846 /drivers | |
parent | 5f40402d96cb21df912e5bbb3fffa5e1afc81e98 (diff) |
[PATCH] md: print correct pid for newly created bitmap-writeback-daemon.
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/md/bitmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/bitmap.c b/drivers/md/bitmap.c index b43bdb2c7e64..c43fd031aafe 100644 --- a/drivers/md/bitmap.c +++ b/drivers/md/bitmap.c | |||
@@ -1112,7 +1112,7 @@ static int bitmap_start_daemon(struct bitmap *bitmap, mdk_thread_t **ptr, | |||
1112 | md_wakeup_thread(daemon); /* start it running */ | 1112 | md_wakeup_thread(daemon); /* start it running */ |
1113 | 1113 | ||
1114 | PRINTK("%s: %s daemon (pid %d) started...\n", | 1114 | PRINTK("%s: %s daemon (pid %d) started...\n", |
1115 | bmname(bitmap), name, bitmap->daemon->tsk->pid); | 1115 | bmname(bitmap), name, daemon->tsk->pid); |
1116 | out_unlock: | 1116 | out_unlock: |
1117 | spin_unlock_irqrestore(&bitmap->lock, flags); | 1117 | spin_unlock_irqrestore(&bitmap->lock, flags); |
1118 | return 0; | 1118 | return 0; |