diff options
author | Ryan Moeller <[email protected]> | 2021-06-01 17:13:26 -0400 |
---|---|---|
committer | GitHub <[email protected]> | 2021-06-01 15:13:26 -0600 |
commit | e1af0d0d739c6f4b35caabccb38d00feb90363fd (patch) | |
tree | 4fd61f91e14f0e280a5c7727af7a10dc40a42cf8 /lib/libzfs_core | |
parent | 65d9212aeeb531e9f987bb41a1ee11b526d2cdad (diff) |
libzfs_core: Fix some style violations
Made function names start on a new line. Added a blank line between
functions. This helps when grepping for functions.
Reviewed-by: Matthew Ahrens <[email protected]>
Reviewed-by: George Melikov <[email protected]>
Reviewed-by: Alexander Motin <[email protected]>
Signed-off-by: Ryan Moeller <[email protected]>
Closes #12137
Diffstat (limited to 'lib/libzfs_core')
-rw-r--r-- | lib/libzfs_core/libzfs_core.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/libzfs_core/libzfs_core.c b/lib/libzfs_core/libzfs_core.c index 7a71b7a54..ce33b2153 100644 --- a/lib/libzfs_core/libzfs_core.c +++ b/lib/libzfs_core/libzfs_core.c @@ -322,6 +322,7 @@ lzc_rename(const char *source, const char *target) error = errno; return (error); } + int lzc_destroy(const char *fsname) { @@ -1024,7 +1025,8 @@ lzc_receive_with_header(const char *snapname, nvlist_t *props, * The 'errors' nvlist contains an entry for each unapplied received * property. Callers are responsible for freeing this nvlist. */ -int lzc_receive_one(const char *snapname, nvlist_t *props, +int +lzc_receive_one(const char *snapname, nvlist_t *props, const char *origin, boolean_t force, boolean_t resumable, boolean_t raw, int input_fd, const dmu_replay_record_t *begin_record, int cleanup_fd, uint64_t *read_bytes, uint64_t *errflags, uint64_t *action_handle, @@ -1043,7 +1045,8 @@ int lzc_receive_one(const char *snapname, nvlist_t *props, * exclude ('zfs receive -x') properties. Callers are responsible for freeing * this nvlist */ -int lzc_receive_with_cmdprops(const char *snapname, nvlist_t *props, +int +lzc_receive_with_cmdprops(const char *snapname, nvlist_t *props, nvlist_t *cmdprops, uint8_t *wkeydata, uint_t wkeylen, const char *origin, boolean_t force, boolean_t resumable, boolean_t raw, int input_fd, const dmu_replay_record_t *begin_record, int cleanup_fd, |