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 <mahrens@delphix.com>
Reviewed-by: George Melikov <mail@gmelikov.ru>
Reviewed-by: Alexander Motin <mav@FreeBSD.org>
Signed-off-by: Ryan Moeller <ryan@iXsystems.com>
Closes #12137
This commit is contained in:
Ryan Moeller 2021-06-01 17:13:26 -04:00 committed by GitHub
parent 65d9212aee
commit e1af0d0d73
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 2 deletions

View File

@ -322,6 +322,7 @@ lzc_rename(const char *source, const char *target)
error = errno; error = errno;
return (error); return (error);
} }
int int
lzc_destroy(const char *fsname) 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 * The 'errors' nvlist contains an entry for each unapplied received
* property. Callers are responsible for freeing this nvlist. * 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, 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, int input_fd, const dmu_replay_record_t *begin_record, int cleanup_fd,
uint64_t *read_bytes, uint64_t *errflags, uint64_t *action_handle, 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 * exclude ('zfs receive -x') properties. Callers are responsible for freeing
* this nvlist * 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, nvlist_t *cmdprops, uint8_t *wkeydata, uint_t wkeylen, const char *origin,
boolean_t force, boolean_t resumable, boolean_t raw, int input_fd, boolean_t force, boolean_t resumable, boolean_t raw, int input_fd,
const dmu_replay_record_t *begin_record, int cleanup_fd, const dmu_replay_record_t *begin_record, int cleanup_fd,