hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/arch/s390/hypfs/hypfs_vm.c
....@@ -120,7 +120,7 @@
120120 return PTR_ERR(rc); \
121121 } while(0)
122122
123
-static int hpyfs_vm_create_guest(struct dentry *systems_dir,
123
+static int hypfs_vm_create_guest(struct dentry *systems_dir,
124124 struct diag2fc_data *data)
125125 {
126126 char guest_name[NAME_LEN + 1] = {};
....@@ -221,7 +221,7 @@
221221 }
222222
223223 for (i = 0; i < count; i++) {
224
- rc = hpyfs_vm_create_guest(dir, &(data[i]));
224
+ rc = hypfs_vm_create_guest(dir, &(data[i]));
225225 if (rc)
226226 goto failed;
227227 }
....@@ -281,7 +281,8 @@
281281 guest_query = local_guest;
282282 else
283283 return -EACCES;
284
- return hypfs_dbfs_create_file(&dbfs_file_2fc);
284
+ hypfs_dbfs_create_file(&dbfs_file_2fc);
285
+ return 0;
285286 }
286287
287288 void hypfs_vm_exit(void)