summaryrefslogtreecommitdiffstats
path: root/module/zfs/zrlock.c
diff options
context:
space:
mode:
authorGeorge Melikov <[email protected]>2017-01-12 20:42:11 +0300
committerBrian Behlendorf <[email protected]>2017-01-12 09:42:11 -0800
commite9aa730c49b91694b146e0cd28192f1aaf843d0e (patch)
tree3ee2eaf10960ad98e5f5feaee05074db0f2876d5 /module/zfs/zrlock.c
parent42b64e50c093a4ad499458a6258254e399a4de52 (diff)
OpenZFS 6328 - Fix cstyle errors in zfs codebase
Authored by: Paul Dagnelie <[email protected]> Reviewed by: Matthew Ahrens <[email protected]> Reviewed by: Alex Reece <[email protected]> Reviewed by: Richard Elling <[email protected]> Reviewed by: Jorgen Lundman <[email protected]> Approved by: Robert Mustacchi <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Ported-by: George Melikov <[email protected]> OpenZFS-issue: https://www.illumos.org/issues/6328 OpenZFS-commit: https://github.com/illumos/illumos-gate/commit/9a686fb Closes #5579
Diffstat (limited to 'module/zfs/zrlock.c')
-rw-r--r--module/zfs/zrlock.c12
1 files changed, 2 insertions, 10 deletions
diff --git a/module/zfs/zrlock.c b/module/zfs/zrlock.c
index 52f9ee839..137875fe0 100644
--- a/module/zfs/zrlock.c
+++ b/module/zfs/zrlock.c
@@ -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