summaryrefslogtreecommitdiff
path: root/fs/gfs2/util.h
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2014-03-07 00:17:21 +0400
committerSteven Whitehouse <swhiteho@redhat.com>2014-03-07 13:39:18 +0400
commitcb94eb066e089da461d37fea39779606512e144a (patch)
tree12d2f26274a32d80fc46c394c5aefa49f374cdc4 /fs/gfs2/util.h
parent8382e26b2c8ba3c4be552d887eed1969dc1a95b8 (diff)
downloadlinux-cb94eb066e089da461d37fea39779606512e144a.tar.xz
GFS2: Convert gfs2_lm_withdraw to use fs_err
vprintk use is not prefixed by a KERN_<LEVEL>, so emit these messages at KERN_ERR level. Using %pV can save some code and allow fs_err to be used, so do it. 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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/gfs2/util.h b/fs/gfs2/util.h
index 515cce2d7131..cbdcbdf39614 100644
--- a/fs/gfs2/util.h
+++ b/fs/gfs2/util.h
@@ -165,7 +165,7 @@ static inline unsigned int gfs2_tune_get_i(struct gfs2_tune *gt,
#define gfs2_tune_get(sdp, field) \
gfs2_tune_get_i(&(sdp)->sd_tune, &(sdp)->sd_tune.field)
-int gfs2_lm_withdraw(struct gfs2_sbd *sdp, char *fmt, ...);
+__printf(2, 3)
+int gfs2_lm_withdraw(struct gfs2_sbd *sdp, const char *fmt, ...);
#endif /* __UTIL_DOT_H__ */
-