Skip to content

Commit

Permalink
jbd2: Add pid and journal device name to the "kjournald2 starting" me…
Browse files Browse the repository at this point in the history
…ssage

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
  • Loading branch information
Theodore Ts'o committed Jan 4, 2009
1 parent ba80b10 commit 4a9bf99
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions fs/jbd2/journal.c
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,9 @@ static int kjournald2(void *arg)
journal->j_task = current;
wake_up(&journal->j_wait_done_commit);

printk(KERN_INFO "kjournald2 starting. Commit interval %ld seconds\n",
journal->j_commit_interval / HZ);
printk(KERN_INFO "kjournald2 starting: pid %d, dev %s, "
"commit interval %ld seconds\n", current->pid,
journal->j_devname, journal->j_commit_interval / HZ);

/*
* And now, wait forever for commit wakeup events.
Expand Down

0 comments on commit 4a9bf99

Please sign in to comment.