Fix obsolete comment on rangelock

5d43cc9a59 renamed it to rangelock_enter().

Reviewed-by: Matt Ahrens <mahrens@delphix.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Tomohiro Kusumi <kusumi.tomohiro@osnexus.com>
Closes #8408
This commit is contained in:
Tomohiro Kusumi 2019-02-15 08:13:58 +09:00 committed by Brian Behlendorf
parent cf89a4ec9d
commit 2d76ab9e42

View File

@ -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);