mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-23 02:44:41 +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
@@ -20,6 +20,7 @@
|
||||
*/
|
||||
/*
|
||||
* Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2015 by Delphix. All rights reserved.
|
||||
*/
|
||||
|
||||
#ifndef _SYS_ZRLOCK_H
|
||||
@@ -44,12 +45,8 @@ typedef struct zrlock {
|
||||
|
||||
extern void zrl_init(zrlock_t *);
|
||||
extern void zrl_destroy(zrlock_t *);
|
||||
#ifdef ZFS_DEBUG
|
||||
#define zrl_add(_z) zrl_add_debug((_z), __func__)
|
||||
extern void zrl_add_debug(zrlock_t *, const char *);
|
||||
#else
|
||||
extern void zrl_add(zrlock_t *);
|
||||
#endif
|
||||
#define zrl_add(_z) zrl_add_impl((_z), __func__)
|
||||
extern void zrl_add_impl(zrlock_t *, const char *);
|
||||
extern void zrl_remove(zrlock_t *);
|
||||
extern int zrl_tryenter(zrlock_t *);
|
||||
extern void zrl_exit(zrlock_t *);
|
||||
|
||||
Reference in New Issue
Block a user