Files
mirror_zfs/module/os/linux/zfs
Christian Schwarz 1dccfd7a38 zvol: make calls to platform ops static
There's no need to make the platform ops dynamic dispatch.

This change replaces the dynamic dispatch with static calls to the
platform-specific functions.
To avoid name collisions, prefix all platform-specific functions
with `zvol_os_`.
I actually find `zvol_..._os` slightly nicer to read in the calling
code, but having it as a prefix is useful.

Advantage:
- easier jump-to-definition / grepping
- potential benefits to static analysis
- better legibility

Future work: also prefix remaining `static` functions in zvol_os.c.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Christian Schwarz <christian.schwarz@nutanix.com>
Closes #12965
2022-02-07 10:24:38 -08:00
..
2022-01-26 11:38:52 -08:00
2021-03-19 21:00:59 -07:00
2019-09-12 13:33:44 -07:00
2019-09-12 13:33:44 -07:00
2021-11-30 07:46:25 -07:00
2022-01-04 17:07:33 -08:00
2022-01-26 11:38:52 -08:00
2022-01-26 11:38:52 -08:00
2022-01-26 11:38:52 -08:00
2021-08-17 10:25:58 -07:00