summaryrefslogtreecommitdiffstats
path: root/fs/ceph
diff options
context:
space:
mode:
authorIlya Dryomov <idryomov@gmail.com>2018-06-27 10:38:13 -0400
committerIlya Dryomov <idryomov@gmail.com>2018-08-02 15:26:11 -0400
commit2f56b6bae73b2d65ef4816ca89341facc53d3361 (patch)
tree30c4eb51affe028036234b4a3b21614b0fab647c /fs/ceph
parent17173c82e3daa28742bf7732520e9bc2e0cb977d (diff)
libceph: amend "bad option arg" error message
Don't mention "mount" -- in the rbd case it is "mapping". Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'fs/ceph')
-rw-r--r--fs/ceph/super.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/ceph/super.c b/fs/ceph/super.c
index 95a3b3ac9b6e..3d8a26b2944f 100644
--- a/fs/ceph/super.c
+++ b/fs/ceph/super.c
@@ -219,8 +219,7 @@ static int parse_fsopt_token(char *c, void *private)
219 if (token < Opt_last_int) { 219 if (token < Opt_last_int) {
220 ret = match_int(&argstr[0], &intval); 220 ret = match_int(&argstr[0], &intval);
221 if (ret < 0) { 221 if (ret < 0) {
222 pr_err("bad mount option arg (not int) " 222 pr_err("bad option arg (not int) at '%s'\n", c);
223 "at '%s'\n", c);
224 return ret; 223 return ret;
225 } 224 }
226 dout("got int token %d val %d\n", token, intval); 225 dout("got int token %d val %d\n", token, intval);