summaryrefslogtreecommitdiffstats
path: root/fs/jbd2
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2009-01-04 04:56:44 +0100
committerTheodore Ts'o <tytso@mit.edu>2009-01-04 04:56:44 +0100
commit4a9bf99b205448ec1f0cbdee1776a29f9c503ce4 (patch)
treea1bd3a27526debaf972460c4ea0df0fd423c4026 /fs/jbd2
parentext4: Add markers for better debuggability (diff)
downloadlinux-4a9bf99b205448ec1f0cbdee1776a29f9c503ce4.tar.xz
linux-4a9bf99b205448ec1f0cbdee1776a29f9c503ce4.zip
jbd2: Add pid and journal device name to the "kjournald2 starting" message
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/jbd2')
-rw-r--r--fs/jbd2/journal.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/fs/jbd2/journal.c b/fs/jbd2/journal.c
index b10d7283ba5b..fe20e40ee7c3 100644
--- a/fs/jbd2/journal.c
+++ b/fs/jbd2/journal.c
@@ -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.