@@ -222,7 +222,7 @@ static int ceph_parse_source(struct fs_parameter *param, struct fs_context *fc)
222
222
223
223
dout ("%s '%s'\n" , __func__ , dev_name );
224
224
if (!dev_name || !* dev_name )
225
- return invalf (fc , "ceph: Empty source" );
225
+ return invalfc (fc , "Empty source" );
226
226
227
227
dev_name_end = strchr (dev_name , '/' );
228
228
if (dev_name_end ) {
@@ -238,7 +238,7 @@ static int ceph_parse_source(struct fs_parameter *param, struct fs_context *fc)
238
238
239
239
dev_name_end -- ; /* back up to ':' separator */
240
240
if (dev_name_end < dev_name || * dev_name_end != ':' )
241
- return invalf (fc , "ceph: No path or : separator in source" );
241
+ return invalfc (fc , "No path or : separator in source" );
242
242
243
243
dout ("device name '%.*s'\n" , (int )(dev_name_end - dev_name ), dev_name );
244
244
if (fsopt -> server_path )
@@ -294,7 +294,7 @@ static int ceph_parse_mount_param(struct fs_context *fc,
294
294
break ;
295
295
case Opt_source :
296
296
if (fc -> source )
297
- return invalf (fc , "ceph: Multiple sources specified" );
297
+ return invalfc (fc , "Multiple sources specified" );
298
298
return ceph_parse_source (param , fc );
299
299
case Opt_wsize :
300
300
if (result .uint_32 < PAGE_SIZE ||
@@ -385,7 +385,7 @@ static int ceph_parse_mount_param(struct fs_context *fc,
385
385
}
386
386
break ;
387
387
#else
388
- return invalf (fc , "ceph: fscache support is disabled" );
388
+ return invalfc (fc , "fscache support is disabled" );
389
389
#endif
390
390
case Opt_poolperm :
391
391
if (!result .negated )
@@ -416,7 +416,7 @@ static int ceph_parse_mount_param(struct fs_context *fc,
416
416
#ifdef CONFIG_CEPH_FS_POSIX_ACL
417
417
fc -> sb_flags |= SB_POSIXACL ;
418
418
#else
419
- return invalf (fc , "ceph: POSIX ACL support is disabled" );
419
+ return invalfc (fc , "POSIX ACL support is disabled" );
420
420
#endif
421
421
} else {
422
422
fc -> sb_flags &= ~SB_POSIXACL ;
@@ -428,7 +428,7 @@ static int ceph_parse_mount_param(struct fs_context *fc,
428
428
return 0 ;
429
429
430
430
out_of_range :
431
- return invalf (fc , "ceph: %s out of range" , param -> key );
431
+ return invalfc (fc , "%s out of range" , param -> key );
432
432
}
433
433
434
434
static void destroy_mount_options (struct ceph_mount_options * args )
@@ -1012,7 +1012,7 @@ static int ceph_get_tree(struct fs_context *fc)
1012
1012
dout ("ceph_get_tree\n" );
1013
1013
1014
1014
if (!fc -> source )
1015
- return invalf (fc , "ceph: No source" );
1015
+ return invalfc (fc , "No source" );
1016
1016
1017
1017
#ifdef CONFIG_CEPH_FS_POSIX_ACL
1018
1018
fc -> sb_flags |= SB_POSIXACL ;
0 commit comments