[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200904091341.28756-2-huobean@gmail.com>
Date: Fri, 4 Sep 2020 11:13:40 +0200
From: Bean Huo <huobean@...il.com>
To: axboe@...nel.dk, linux-block@...r.kernel.org,
linux-kernel@...r.kernel.org
Cc: beanhuo@...ron.com
Subject: [PATCH 1/2] block: use generic_file_buffered_read()
From: Bean Huo <beanhuo@...ron.com>
do_generic_file_read() has been renamed to generic_file_buffered_read() since
commit 47c27bc46946 ("fs: pass iocb to do_generic_file_read").
Signed-off-by: Bean Huo <beanhuo@...ron.com>
---
drivers/block/sunvdc.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/block/sunvdc.c b/drivers/block/sunvdc.c
index 39aeebc6837d..06262e990c9b 100644
--- a/drivers/block/sunvdc.c
+++ b/drivers/block/sunvdc.c
@@ -1017,9 +1017,9 @@ 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
- * a readahead I/O first, and once that fails it will try to read a
- * single page.
+ /* Actual wall time may be double due to generic_file_buffered_read()
+ * doing a readahead I/O first, and once that fails it will try to read
+ * a single page.
*/
ldc_timeout = mdesc_get_property(hp, vdev->mp, "vdc-timeout", NULL);
port->ldc_timeout = ldc_timeout ? *ldc_timeout : 0;
--
2.17.1
Powered by blists - more mailing lists