projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
84c1e27
)
scsi: target: Fix incorrect function name in pscsi_create_type_disk()
author
Baolin Liu
<liubaolin@kylinos.cn>
Wed, 30 Oct 2024 02:18:00 +0000
(10:18 +0800)
committer
Martin K. Petersen
<martin.petersen@oracle.com>
Thu, 7 Nov 2024 01:45:37 +0000
(20:45 -0500)
In pr_err(), bdev_open_by_path() should be renamed to
bdev_file_open_by_path()
Fixes:
034f0cf8fdf9
("target: port block device access to file")
Signed-off-by: Baolin Liu <liubaolin@kylinos.cn>
Link:
https://lore.kernel.org/r/20241030021800.234980-1-liubaolin12138@163.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/target/target_core_pscsi.c
patch
|
blob
|
history
diff --git
a/drivers/target/target_core_pscsi.c
b/drivers/target/target_core_pscsi.c
index
f98ebb1
..
da70171
100644
(file)
--- a/
drivers/target/target_core_pscsi.c
+++ b/
drivers/target/target_core_pscsi.c
@@
-369,7
+369,7
@@
static int pscsi_create_type_disk(struct se_device *dev, struct scsi_device *sd)
bdev_file = bdev_file_open_by_path(dev->udev_path,
BLK_OPEN_WRITE | BLK_OPEN_READ, pdv, NULL);
if (IS_ERR(bdev_file)) {
- pr_err("pSCSI: bdev_open_by_path() failed\n");
+ pr_err("pSCSI: bdev_
file_
open_by_path() failed\n");
scsi_device_put(sd);
return PTR_ERR(bdev_file);
}