summaryrefslogtreecommitdiffstats
path: root/fs/gfs2/sys.c
diff options
context:
space:
mode:
authorJoe Perches2014-03-06 21:17:21 +0100
committerSteven Whitehouse2014-03-07 10:39:18 +0100
commitcb94eb066e089da461d37fea39779606512e144a (patch)
tree12d2f26274a32d80fc46c394c5aefa49f374cdc4 /fs/gfs2/sys.c
parentGFS2: Use fs_<level> more often (diff)
downloadkernel-qcow2-linux-cb94eb066e089da461d37fea39779606512e144a.tar.gz
kernel-qcow2-linux-cb94eb066e089da461d37fea39779606512e144a.tar.xz
kernel-qcow2-linux-cb94eb066e089da461d37fea39779606512e144a.zip
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/sys.c')
-rw-r--r--fs/gfs2/sys.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/fs/gfs2/sys.c b/fs/gfs2/sys.c
index 256354cba4dd..de25d5577e5d 100644
--- a/fs/gfs2/sys.c
+++ b/fs/gfs2/sys.c
@@ -140,9 +140,8 @@ static ssize_t withdraw_store(struct gfs2_sbd *sdp, const char *buf, size_t len)
if (simple_strtol(buf, NULL, 0) != 1)
return -EINVAL;
- gfs2_lm_withdraw(sdp,
- "GFS2: fsid=%s: withdrawing from cluster at user's request\n",
- sdp->sd_fsname);
+ gfs2_lm_withdraw(sdp, "withdrawing from cluster at user's request\n");
+
return len;
}