Eliminate zfsdev_get_state_impl

After 3937ab20f zfsdev_get_state_impl can become zfsdev_get_state.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ryan Moeller <freqlabs@FreeBSD.org>
Closes #11833
This commit is contained in:
Ryan Moeller
2021-03-16 12:44:23 +00:00
committed by Brian Behlendorf
parent 161ed825ca
commit 1dff545278
2 changed files with 4 additions and 14 deletions
+1 -1
View File
@@ -118,7 +118,7 @@ zfsdev_state_init(struct file *filp)
/*
* In order to provide for lock-free concurrent read access
* to the minor list in zfsdev_get_state_impl(), new entries
* to the minor list in zfsdev_get_state(), new entries
* must be completely written before linking them into the
* list whereas existing entries are already linked; the last
* operation must be updating zs_minor (from -1 to the new