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
|
* It was added to preserve the function signature in case it is
|
||||||
* needed in the future.
|
* needed in the future.
|
||||||
*/
|
*/
|
||||||
/*ARGSUSED*/
|
|
||||||
int
|
int
|
||||||
lzc_sync(const char *pool_name, nvlist_t *innvl, nvlist_t **outnvl)
|
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));
|
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,
|
uint64_t *read_bytes, uint64_t *errflags, uint64_t *action_handle,
|
||||||
nvlist_t **errors)
|
nvlist_t **errors)
|
||||||
{
|
{
|
||||||
|
(void) action_handle, (void) cleanup_fd;
|
||||||
return (recv_impl(snapname, props, NULL, NULL, 0, origin, force,
|
return (recv_impl(snapname, props, NULL, NULL, 0, origin, force,
|
||||||
resumable, raw, input_fd, begin_record,
|
resumable, raw, input_fd, begin_record,
|
||||||
read_bytes, errflags, errors));
|
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,
|
uint64_t *read_bytes, uint64_t *errflags, uint64_t *action_handle,
|
||||||
nvlist_t **errors)
|
nvlist_t **errors)
|
||||||
{
|
{
|
||||||
|
(void) action_handle, (void) cleanup_fd;
|
||||||
return (recv_impl(snapname, props, cmdprops, wkeydata, wkeylen, origin,
|
return (recv_impl(snapname, props, cmdprops, wkeydata, wkeylen, origin,
|
||||||
force, resumable, raw, input_fd, begin_record,
|
force, resumable, raw, input_fd, begin_record,
|
||||||
read_bytes, errflags, errors));
|
read_bytes, errflags, errors));
|
||||||
|
|
Loading…
Reference in New Issue