[PATCH] sunvdc: update outdated comment
From: Kexin Sun
Date: Wed Mar 11 2026 - 09:42:31 EST
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@xxxxxxxxxxxxxxxx>
---
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