mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-25 19:57:43 +03:00
OpenZFS 6328 - Fix cstyle errors in zfs codebase
Authored by: Paul Dagnelie <pcd@delphix.com> Reviewed by: Matthew Ahrens <mahrens@delphix.com> Reviewed by: Alex Reece <alex@delphix.com> Reviewed by: Richard Elling <Richard.Elling@RichardElling.com> Reviewed by: Jorgen Lundman <lundman@lundman.net> Approved by: Robert Mustacchi <rm@joyent.com> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Ported-by: George Melikov <mail@gmelikov.ru> OpenZFS-issue: https://www.illumos.org/issues/6328 OpenZFS-commit: https://github.com/illumos/illumos-gate/commit/9a686fb Closes #5579
This commit is contained in:
committed by
Brian Behlendorf
parent
42b64e50c0
commit
e9aa730c49
+2
-10
@@ -70,11 +70,7 @@ zrl_destroy(zrlock_t *zrl)
|
||||
}
|
||||
|
||||
void
|
||||
#ifdef ZFS_DEBUG
|
||||
zrl_add_debug(zrlock_t *zrl, const char *zc)
|
||||
#else
|
||||
zrl_add(zrlock_t *zrl)
|
||||
#endif
|
||||
zrl_add_impl(zrlock_t *zrl, const char *zc)
|
||||
{
|
||||
uint32_t n = (uint32_t)zrl->zr_refcount;
|
||||
|
||||
@@ -199,11 +195,7 @@ zrl_owner(zrlock_t *zrl)
|
||||
|
||||
#if defined(_KERNEL) && defined(HAVE_SPL)
|
||||
|
||||
#ifdef ZFS_DEBUG
|
||||
EXPORT_SYMBOL(zrl_add_debug);
|
||||
#else
|
||||
EXPORT_SYMBOL(zrl_add);
|
||||
#endif
|
||||
EXPORT_SYMBOL(zrl_add_impl);
|
||||
EXPORT_SYMBOL(zrl_remove);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user