aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomohiro Kusumi <[email protected]>2019-02-15 08:13:58 +0900
committerBrian Behlendorf <[email protected]>2019-02-14 15:13:58 -0800
commit2d76ab9e422286b4e97fbd014a2efb05804d4181 (patch)
tree7bbc9bfe94daec15e5bad5ecd8f5915c73bc7675
parentcf89a4ec9d39167e53cb70c7fa051239c1a78ba4 (diff)
Fix obsolete comment on rangelock
5d43cc9a59 renamed it to rangelock_enter(). Reviewed-by: Matt Ahrens <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Tomohiro Kusumi <[email protected]> Closes #8408
-rw-r--r--module/zfs/zvol.c2
1 files changed, 1 insertions, 1 deletions
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);