Merge tag 'for-5.11/dm-changes' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux-2.6-microblaze.git] / fs / afs / super.c
index 6c5900d..e38bb1e 100644 (file)
@@ -230,6 +230,9 @@ static int afs_parse_source(struct fs_context *fc, struct fs_parameter *param)
 
        _enter(",%s", name);
 
+       if (fc->source)
+               return invalf(fc, "kAFS: Multiple sources not supported");
+
        if (!name) {
                printk(KERN_ERR "kAFS: no volume name specified\n");
                return -EINVAL;