| .. | .. |
|---|
| 120 | 120 | return PTR_ERR(rc); \ |
|---|
| 121 | 121 | } while(0) |
|---|
| 122 | 122 | |
|---|
| 123 | | -static int hpyfs_vm_create_guest(struct dentry *systems_dir, |
|---|
| 123 | +static int hypfs_vm_create_guest(struct dentry *systems_dir, |
|---|
| 124 | 124 | struct diag2fc_data *data) |
|---|
| 125 | 125 | { |
|---|
| 126 | 126 | char guest_name[NAME_LEN + 1] = {}; |
|---|
| .. | .. |
|---|
| 221 | 221 | } |
|---|
| 222 | 222 | |
|---|
| 223 | 223 | for (i = 0; i < count; i++) { |
|---|
| 224 | | - rc = hpyfs_vm_create_guest(dir, &(data[i])); |
|---|
| 224 | + rc = hypfs_vm_create_guest(dir, &(data[i])); |
|---|
| 225 | 225 | if (rc) |
|---|
| 226 | 226 | goto failed; |
|---|
| 227 | 227 | } |
|---|
| .. | .. |
|---|
| 281 | 281 | guest_query = local_guest; |
|---|
| 282 | 282 | else |
|---|
| 283 | 283 | return -EACCES; |
|---|
| 284 | | - return hypfs_dbfs_create_file(&dbfs_file_2fc); |
|---|
| 284 | + hypfs_dbfs_create_file(&dbfs_file_2fc); |
|---|
| 285 | + return 0; |
|---|
| 285 | 286 | } |
|---|
| 286 | 287 | |
|---|
| 287 | 288 | void hypfs_vm_exit(void) |
|---|