|
@@ -831,7 +831,8 @@ int get_sb_bdev(struct file_system_type *fs_type,
|
|
|
bdev->bd_super = s;
|
|
|
}
|
|
|
|
|
|
- return simple_set_mnt(mnt, s);
|
|
|
+ simple_set_mnt(mnt, s);
|
|
|
+ return 0;
|
|
|
|
|
|
error_s:
|
|
|
error = PTR_ERR(s);
|
|
@@ -877,7 +878,8 @@ int get_sb_nodev(struct file_system_type *fs_type,
|
|
|
return error;
|
|
|
}
|
|
|
s->s_flags |= MS_ACTIVE;
|
|
|
- return simple_set_mnt(mnt, s);
|
|
|
+ simple_set_mnt(mnt, s);
|
|
|
+ return 0;
|
|
|
}
|
|
|
|
|
|
EXPORT_SYMBOL(get_sb_nodev);
|
|
@@ -909,7 +911,8 @@ int get_sb_single(struct file_system_type *fs_type,
|
|
|
s->s_flags |= MS_ACTIVE;
|
|
|
}
|
|
|
do_remount_sb(s, flags, data, 0);
|
|
|
- return simple_set_mnt(mnt, s);
|
|
|
+ simple_set_mnt(mnt, s);
|
|
|
+ return 0;
|
|
|
}
|
|
|
|
|
|
EXPORT_SYMBOL(get_sb_single);
|