From 2d76ab9e422286b4e97fbd014a2efb05804d4181 Mon Sep 17 00:00:00 2001 From: Tomohiro Kusumi Date: Fri, 15 Feb 2019 08:13:58 +0900 Subject: [PATCH] Fix obsolete comment on rangelock 5d43cc9a59 renamed it to rangelock_enter(). Reviewed-by: Matt Ahrens Reviewed-by: Brian Behlendorf Signed-off-by: Tomohiro Kusumi Closes #8408 --- module/zfs/zvol.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/zfs/zvol.c b/module/zfs/zvol.c index 7ca18e138..cc0f1d1e0 100644 --- a/module/zfs/zvol.c +++ b/module/zfs/zvol.c @@ -961,7 +961,7 @@ zvol_request(struct request_queue *q, struct bio *bio) /* * To be released in the I/O function. See the comment on - * zfs_range_lock below. + * rangelock_enter() below. */ rw_enter(&zv->zv_suspend_lock, RW_READER);