mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 02:27:36 +03:00
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:
committed by
Brian Behlendorf
parent
161ed825ca
commit
1dff545278
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user