summaryrefslogtreecommitdiffstats
path: root/fs/gfs2/util.h
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2014-03-06 21:10:46 +0100
committerSteven Whitehouse <swhiteho@redhat.com>2014-03-07 10:32:31 +0100
commit8382e26b2c8ba3c4be552d887eed1969dc1a95b8 (patch)
tree45f516cb15fb55b28c28756255599d7ab320d390 /fs/gfs2/util.h
parentGFS2: Use pr_<level> more consistently (diff)
downloadlinux-8382e26b2c8ba3c4be552d887eed1969dc1a95b8.tar.xz
linux-8382e26b2c8ba3c4be552d887eed1969dc1a95b8.zip
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.h')
-rw-r--r--fs/gfs2/util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/gfs2/util.h b/fs/gfs2/util.h
index d365733744d7..515cce2d7131 100644
--- a/fs/gfs2/util.h
+++ b/fs/gfs2/util.h
@@ -19,6 +19,8 @@
#include "incore.h"
+#define fs_emerg(fs, fmt, ...) \
+ pr_emerg("fsid=%s: " fmt, (fs)->sd_fsname, ##__VA_ARGS__)
#define fs_warn(fs, fmt, ...) \
pr_warn("fsid=%s: " fmt, (fs)->sd_fsname, ##__VA_ARGS__)
#define fs_err(fs, fmt, ...) \