diff options
author | Arvind Sankar <[email protected]> | 2020-06-09 18:59:04 -0400 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2020-06-18 12:18:49 -0700 |
commit | 1fa5c7af3314b4c556bd86e3a49e3497a5ed72ed (patch) | |
tree | 03b7d1d655dd2ef453ecd269e31d09a975d9a6a0 /module/zfs/sa.c | |
parent | f734301d2267cbb33eaffbca195fc93f1dae7b74 (diff) |
Cleanup libzpool/kernel.c
Commit
ec213971274a ("async zvol minor node creation interferes with receive")
replaced zvol_create_minors with zvol_create_minor and
zvol_create_minors_recursive, changing the prototype at the same time.
However the stub functions in libzpool/kernel.c were defined with the
old prototype. As the definitions are empty, this doesn't cause any
runtime issues, but an LTO build shows warnings because of the
mismatched prototypes.
Commit
a0bd735adb1b ("Add support for asynchronous zvol minor operations")
removed the real zvol_remove_minor, but for some reason added a stub
implementation in libzpool/kernel.c with no references. Delete this dead
code.
Commit
196bee4cfd57 ("Remove deduplicated send/receive code")
removed zfs_onexit_del_cb and zfs_onexit_cb_data. Drop the stubs as
well.
Add zvol.h include to provide prototypes, and sort the include
directives.
Reviewed-by: Ryan Moeller <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Arvind Sankar <[email protected]>
Closes #10470
Diffstat (limited to 'module/zfs/sa.c')
0 files changed, 0 insertions, 0 deletions