diff options
author | Joe Perches <joe@perches.com> | 2014-03-06 20:17:21 (GMT) |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2014-03-07 09:39:18 (GMT) |
commit | cb94eb066e089da461d37fea39779606512e144a (patch) | |
tree | 12d2f26274a32d80fc46c394c5aefa49f374cdc4 /fs/gfs2/util.h | |
parent | 8382e26b2c8ba3c4be552d887eed1969dc1a95b8 (diff) | |
download | linux-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.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/gfs2/util.h b/fs/gfs2/util.h index 515cce2..cbdcbdf 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__ */ - |