[PATCH] sunvdc: update outdated comment

Kexin Sun posted 1 patch 3 weeks, 6 days ago
drivers/block/sunvdc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] sunvdc: update outdated comment
Posted by Kexin Sun 3 weeks, 6 days ago
The function do_generic_file_read() was renamed
generic_file_buffered_read() by commit 47c27bc46946 ("fs: pass iocb
to do_generic_file_read"), and later renamed again to filemap_read()
by commit 87fa0f3eb267 ("mm/filemap: rename generic_file_buffered_read
to filemap_read"). Update the comment accordingly.

Assisted-by: unnamed:deepseek-v3.2 coccinelle
Signed-off-by: Kexin Sun <kexinsun@smail.nju.edu.cn>
---
 drivers/block/sunvdc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/block/sunvdc.c b/drivers/block/sunvdc.c
index 020bd9f1a7b6..0e6107d1d179 100644
--- a/drivers/block/sunvdc.c
+++ b/drivers/block/sunvdc.c
@@ -1008,7 +1008,7 @@ static int vdc_port_probe(struct vio_dev *vdev, const struct vio_device_id *id)
 			 VDCBLK_NAME "%c", 'a' + ((int)vdev->dev_no % 26));
 	port->vdisk_size = -1;
 
-	/* Actual wall time may be double due to do_generic_file_read() doing
+	/* Actual wall time may be double due to filemap_read() doing
 	 * a readahead I/O first, and once that fails it will try to read a
 	 * single page.
 	 */
-- 
2.25.1