@@ -475,14 +475,14 @@ static int fuse_parse_param(struct fs_context *fc, struct fs_parameter *param)
475
475
switch (opt ) {
476
476
case OPT_SOURCE :
477
477
if (fc -> source )
478
- return invalf (fc , "fuse: Multiple sources specified" );
478
+ return invalfc (fc , "Multiple sources specified" );
479
479
fc -> source = param -> string ;
480
480
param -> string = NULL ;
481
481
break ;
482
482
483
483
case OPT_SUBTYPE :
484
484
if (ctx -> subtype )
485
- return invalf (fc , "fuse: Multiple subtypes specified" );
485
+ return invalfc (fc , "Multiple subtypes specified" );
486
486
ctx -> subtype = param -> string ;
487
487
param -> string = NULL ;
488
488
return 0 ;
@@ -494,22 +494,22 @@ static int fuse_parse_param(struct fs_context *fc, struct fs_parameter *param)
494
494
495
495
case OPT_ROOTMODE :
496
496
if (!fuse_valid_type (result .uint_32 ))
497
- return invalf (fc , "fuse: Invalid rootmode" );
497
+ return invalfc (fc , "Invalid rootmode" );
498
498
ctx -> rootmode = result .uint_32 ;
499
499
ctx -> rootmode_present = 1 ;
500
500
break ;
501
501
502
502
case OPT_USER_ID :
503
503
ctx -> user_id = make_kuid (fc -> user_ns , result .uint_32 );
504
504
if (!uid_valid (ctx -> user_id ))
505
- return invalf (fc , "fuse: Invalid user_id" );
505
+ return invalfc (fc , "Invalid user_id" );
506
506
ctx -> user_id_present = 1 ;
507
507
break ;
508
508
509
509
case OPT_GROUP_ID :
510
510
ctx -> group_id = make_kgid (fc -> user_ns , result .uint_32 );
511
511
if (!gid_valid (ctx -> group_id ))
512
- return invalf (fc , "fuse: Invalid group_id" );
512
+ return invalfc (fc , "Invalid group_id" );
513
513
ctx -> group_id_present = 1 ;
514
514
break ;
515
515
@@ -527,7 +527,7 @@ static int fuse_parse_param(struct fs_context *fc, struct fs_parameter *param)
527
527
528
528
case OPT_BLKSIZE :
529
529
if (!ctx -> is_bdev )
530
- return invalf (fc , "fuse: blksize only supported for fuseblk" );
530
+ return invalfc (fc , "blksize only supported for fuseblk" );
531
531
ctx -> blksize = result .uint_32 ;
532
532
break ;
533
533
0 commit comments