Patch "scsi: target: Fix incorrect function name in pscsi_create_type_disk()" has been added to the 6.12-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    scsi: target: Fix incorrect function name in pscsi_create_type_disk()

to the 6.12-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     scsi-target-fix-incorrect-function-name-in-pscsi_cre.patch
and it can be found in the queue-6.12 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit 2f75cbc807738560d9990a1eb573101d52049c85
Author: Baolin Liu <liubaolin@xxxxxxxxxx>
Date:   Wed Oct 30 10:18:00 2024 +0800

    scsi: target: Fix incorrect function name in pscsi_create_type_disk()
    
    [ Upstream commit da5aeca99dd0b6c7bf6679382756ea6bda195f72 ]
    
    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@xxxxxxxxxx>
    Link: https://lore.kernel.org/r/20241030021800.234980-1-liubaolin12138@xxxxxxx
    Signed-off-by: Martin K. Petersen <martin.petersen@xxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/drivers/target/target_core_pscsi.c b/drivers/target/target_core_pscsi.c
index 440e07b1d5cdb..287ac5b0495f9 100644
--- 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);
 	}




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux