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>
        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;