diff options
author | Theodore Ts'o <tytso@mit.edu> | 2012-03-20 07:41:49 +0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2012-03-20 07:41:49 +0400 |
commit | 92b9781658dba287a1354ad74ed351f68c3ee740 (patch) | |
tree | 1dc2a11343544374321bf18340b0bf886c898f97 /fs/ext4/dir.c | |
parent | d9ee81da93e86ac45aef30b2493a1e68fc71b9d0 (diff) | |
download | linux-92b9781658dba287a1354ad74ed351f68c3ee740.tar.xz |
ext4: change some printk() calls to use ext4_msg() instead
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/dir.c')
-rw-r--r-- | fs/ext4/dir.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/fs/ext4/dir.c b/fs/ext4/dir.c index a4a0234cb5cb..ad56866d729a 100644 --- a/fs/ext4/dir.c +++ b/fs/ext4/dir.c @@ -425,8 +425,9 @@ static int call_filldir(struct file *filp, void *dirent, sb = inode->i_sb; if (!fname) { - printk(KERN_ERR "EXT4-fs: call_filldir: called with " - "null fname?!?\n"); + ext4_msg(sb, KERN_ERR, "%s:%d: inode #%lu: comm %s: " + "called with null fname?!?", __func__, __LINE__, + inode->i_ino, current->comm); return 0; } curr_pos = hash2pos(fname->hash, fname->minor_hash); |