ommit_transaction+0x1198/0x1688) [] (journal_commit_transaction+0x1198/0x1688) from [] (kjournald+0xb4/0x224) [] (kjournald+0xb4/0x224) from [] (kthread+0x8c/0x94) [] (kthread+0x8c/0x94) from [] (kernel_thread_exit+0x0/0x8) Fix this by just using raw_smp_processor_id(), it's just a hint after all. There's no pinning of the CPU or accessing per-cpu structures involved. Reported-by: Ming Lei Signed-off-by: Jens Axboe