summaryrefslogtreecommitdiffstats
path: root/fs/gfs2/glock.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2012-12-12 10:19:08 -0800
committerJiri Kosina <jkosina@suse.cz>2013-04-29 15:23:20 +0200
commit7af584d3b0e0ba025562198e6bfbff3c0fe1f17e (patch)
tree8af3e8880fd7168cec41967fc752058217d89729 /fs/gfs2/glock.c
parentc8d5cb74d52749c242e15bdd50298a1168d90a4d (diff)
downloadlinux-7af584d3b0e0ba025562198e6bfbff3c0fe1f17e.tar.gz
linux-7af584d3b0e0ba025562198e6bfbff3c0fe1f17e.tar.bz2
linux-7af584d3b0e0ba025562198e6bfbff3c0fe1f17e.zip
gfs2: Convert print_symbol to %pSR
Use the new vsprintf extension to avoid any possible message interleaving. Signed-off-by: Joe Perches <joe@perches.com> Acked-by: Steven Whitehouse <swhiteho@redhat.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'fs/gfs2/glock.c')
-rw-r--r--fs/gfs2/glock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/gfs2/glock.c b/fs/gfs2/glock.c
index cf3515546739..bd8223595495 100644
--- a/fs/gfs2/glock.c
+++ b/fs/gfs2/glock.c
@@ -1017,11 +1017,11 @@ do_cancel:
return;
trap_recursive:
- print_symbol(KERN_ERR "original: %s\n", gh2->gh_ip);
+ printk(KERN_ERR "original: %pSR\n", (void *)gh2->gh_ip);
printk(KERN_ERR "pid: %d\n", pid_nr(gh2->gh_owner_pid));
printk(KERN_ERR "lock type: %d req lock state : %d\n",
gh2->gh_gl->gl_name.ln_type, gh2->gh_state);
- print_symbol(KERN_ERR "new: %s\n", gh->gh_ip);
+ printk(KERN_ERR "new: %pSR\n", (void *)gh->gh_ip);
printk(KERN_ERR "pid: %d\n", pid_nr(gh->gh_owner_pid));
printk(KERN_ERR "lock type: %d req lock state : %d\n",
gh->gh_gl->gl_name.ln_type, gh->gh_state);