diff options
author | Joe Perches <joe@perches.com> | 2014-03-06 20:10:46 (GMT) |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2014-03-07 09:32:31 (GMT) |
commit | 8382e26b2c8ba3c4be552d887eed1969dc1a95b8 (patch) | |
tree | 45f516cb15fb55b28c28756255599d7ab320d390 /fs/gfs2/util.c | |
parent | d77d1b58aaf4456946b8502c67f16b52fda60303 (diff) | |
download | linux-8382e26b2c8ba3c4be552d887eed1969dc1a95b8.tar.xz |
GFS2: Use fs_<level> more often
Convert a couple of uses of pr_<level> to fs_<level>
Add and use fs_emerg.
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/util.c')
-rw-r--r-- | fs/gfs2/util.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/gfs2/util.c b/fs/gfs2/util.c index 02fb38d..84bf853 100644 --- a/fs/gfs2/util.c +++ b/fs/gfs2/util.c @@ -32,7 +32,7 @@ mempool_t *gfs2_page_pool __read_mostly; void gfs2_assert_i(struct gfs2_sbd *sdp) { - pr_emerg("fsid=%s: fatal assertion failed\n", sdp->sd_fsname); + fs_emerg(sdp, "fatal assertion failed\n"); } int gfs2_lm_withdraw(struct gfs2_sbd *sdp, char *fmt, ...) @@ -106,8 +106,8 @@ int gfs2_assert_warn_i(struct gfs2_sbd *sdp, char *assertion, return -2; if (sdp->sd_args.ar_errors == GFS2_ERRORS_WITHDRAW) - pr_warn("fsid=%s: warning: assertion \"%s\" failed at function = %s, file = %s, line = %u\n", - sdp->sd_fsname, assertion, function, file, line); + fs_warn(sdp, "warning: assertion \"%s\" failed at function = %s, file = %s, line = %u\n", + assertion, function, file, line); if (sdp->sd_args.ar_debug) BUG(); |