Remove private parameter from cas_disk_open()

Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
This commit is contained in:
Robert Baldyga
2022-09-16 18:31:22 +02:00
parent 6d2266f7ee
commit 8945b482ce
3 changed files with 3 additions and 6 deletions

View File

@@ -35,7 +35,7 @@ int block_dev_open_object(ocf_volume_t vol, void *volume_params)
return 0;
}
dsk = cas_disk_open(uuid->data, NULL);
dsk = cas_disk_open(uuid->data);
if (IS_ERR_OR_NULL(dsk)) {
int error = PTR_ERR(dsk) ?: -EINVAL;