libzfs_core: fix unused, remove argsused
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz> Closes #12844
This commit is contained in:
parent
7fe47a2386
commit
bfc1789703
@ -476,10 +476,10 @@ lzc_exists(const char *dataset)
|
||||
* It was added to preserve the function signature in case it is
|
||||
* needed in the future.
|
||||
*/
|
||||
/*ARGSUSED*/
|
||||
int
|
||||
lzc_sync(const char *pool_name, nvlist_t *innvl, nvlist_t **outnvl)
|
||||
{
|
||||
(void) outnvl;
|
||||
return (lzc_ioctl(ZFS_IOC_POOL_SYNC, pool_name, innvl, NULL));
|
||||
}
|
||||
|
||||
@ -1032,6 +1032,7 @@ lzc_receive_one(const char *snapname, nvlist_t *props,
|
||||
uint64_t *read_bytes, uint64_t *errflags, uint64_t *action_handle,
|
||||
nvlist_t **errors)
|
||||
{
|
||||
(void) action_handle, (void) cleanup_fd;
|
||||
return (recv_impl(snapname, props, NULL, NULL, 0, origin, force,
|
||||
resumable, raw, input_fd, begin_record,
|
||||
read_bytes, errflags, errors));
|
||||
@ -1053,6 +1054,7 @@ lzc_receive_with_cmdprops(const char *snapname, nvlist_t *props,
|
||||
uint64_t *read_bytes, uint64_t *errflags, uint64_t *action_handle,
|
||||
nvlist_t **errors)
|
||||
{
|
||||
(void) action_handle, (void) cleanup_fd;
|
||||
return (recv_impl(snapname, props, cmdprops, wkeydata, wkeylen, origin,
|
||||
force, resumable, raw, input_fd, begin_record,
|
||||
read_bytes, errflags, errors));
|
||||
|
Loading…
Reference in New Issue
Block a user