diff options
author | Joe Perches <joe@perches.com> | 2012-12-12 19:19:08 +0100 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2013-04-29 15:23:20 +0200 |
commit | 7af584d3b0e0ba025562198e6bfbff3c0fe1f17e (patch) | |
tree | 8af3e8880fd7168cec41967fc752058217d89729 /fs/gfs2/trans.c | |
parent | m32r: Convert print_symbol to %pSR (diff) | |
download | linux-7af584d3b0e0ba025562198e6bfbff3c0fe1f17e.tar.xz 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/trans.c')
-rw-r--r-- | fs/gfs2/trans.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/gfs2/trans.c b/fs/gfs2/trans.c index 88162fae27a5..5bc023ea38ac 100644 --- a/fs/gfs2/trans.c +++ b/fs/gfs2/trans.c @@ -96,7 +96,8 @@ static void gfs2_log_release(struct gfs2_sbd *sdp, unsigned int blks) static void gfs2_print_trans(const struct gfs2_trans *tr) { - print_symbol(KERN_WARNING "GFS2: Transaction created at: %s\n", tr->tr_ip); + printk(KERN_WARNING "GFS2: Transaction created at: %pSR\n", + (void *)tr->tr_ip); printk(KERN_WARNING "GFS2: blocks=%u revokes=%u reserved=%u touched=%d\n", tr->tr_blocks, tr->tr_revokes, tr->tr_reserved, tr->tr_touched); printk(KERN_WARNING "GFS2: Buf %u/%u Databuf %u/%u Revoke %u/%u\n", |