GFS2: global conversion to pr_foo()
[deliverable/linux.git] / fs / gfs2 / util.c
index f7109f689e6132d08b7fcfc6a0c69db63dc0c24f..e9d70019401576270fbfa64061460346289ae79d 100644 (file)
@@ -30,8 +30,7 @@ mempool_t *gfs2_page_pool __read_mostly;
 
 void gfs2_assert_i(struct gfs2_sbd *sdp)
 {
-       printk(KERN_EMERG "GFS2: fsid=%s: fatal assertion failed\n",
-              sdp->sd_fsname);
+       pr_emerg("GFS2: fsid=%s: fatal assertion failed\n", sdp->sd_fsname);
 }
 
 int gfs2_lm_withdraw(struct gfs2_sbd *sdp, char *fmt, ...)
@@ -105,8 +104,7 @@ int gfs2_assert_warn_i(struct gfs2_sbd *sdp, char *assertion,
                return -2;
 
        if (sdp->sd_args.ar_errors == GFS2_ERRORS_WITHDRAW)
-               printk(KERN_WARNING
-                      "GFS2: fsid=%s: warning: assertion \"%s\" failed\n"
+               pr_warn("GFS2: fsid=%s: warning: assertion \"%s\" failed\n"
                       "GFS2: fsid=%s:   function = %s, file = %s, line = %u\n",
                       sdp->sd_fsname, assertion,
                       sdp->sd_fsname, function, file, line);
This page took 0.025774 seconds and 5 git commands to generate.