Skip to content

Commit

Permalink
Fix obsolete comment on rangelock
Browse files Browse the repository at this point in the history
5d43cc9 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 openzfs#8408
  • Loading branch information
kusumi authored and behlendorf committed Feb 14, 2019
1 parent cf89a4e commit 2d76ab9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion module/zfs/zvol.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 2d76ab9

Please sign in to comment.