- Nuke a second copy of nfscl_attrcache extern declarations from under
ifdef KDTRACE_HOOKS. This fixes kernel build with options KDTRACE_HOOKS. - Fix style inconsistencies.
This commit is contained in:
parent
285e7a2d97
commit
0d8dc7cc39
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=258667
@ -39,13 +39,14 @@ extern uint32_t nfscl_accesscache_flush_done_id;
|
||||
extern uint32_t nfscl_accesscache_get_hit_id;
|
||||
extern uint32_t nfscl_accesscache_get_miss_id;
|
||||
extern uint32_t nfscl_accesscache_load_done_id;
|
||||
|
||||
/*
|
||||
* Definitions for NFS attribute cache probes.
|
||||
*/
|
||||
extern uint32_t nfscl_attrcache_flush_done_id;
|
||||
extern uint32_t nfscl_attrcache_get_hit_id;
|
||||
extern uint32_t nfscl_attrcache_get_miss_id;
|
||||
extern uint32_t nfscl_attrcache_load_done_id;
|
||||
extern uint32_t nfscl_attrcache_flush_done_id;
|
||||
extern uint32_t nfscl_attrcache_get_hit_id;
|
||||
extern uint32_t nfscl_attrcache_get_miss_id;
|
||||
extern uint32_t nfscl_attrcache_load_done_id;
|
||||
|
||||
#ifdef KDTRACE_HOOKS
|
||||
#include <sys/dtrace_bsd.h>
|
||||
@ -77,14 +78,6 @@ extern uint32_t nfscl_attrcache_load_done_id;
|
||||
(rmode), (error)); \
|
||||
} while (0)
|
||||
|
||||
/*
|
||||
* Definitions for NFS attribute cache probes.
|
||||
*/
|
||||
extern uint32_t nfscl_attrcache_flush_done_id;
|
||||
extern uint32_t nfscl_attrcache_get_hit_id;
|
||||
extern uint32_t nfscl_attrcache_get_miss_id;
|
||||
extern uint32_t nfscl_attrcache_load_done_id;
|
||||
|
||||
#define KDTRACE_NFS_ATTRCACHE_FLUSH_DONE(vp) do { \
|
||||
if (dtrace_nfscl_attrcache_flush_done_probe != NULL) \
|
||||
(dtrace_nfscl_attrcache_flush_done_probe)( \
|
||||
|
Loading…
Reference in New Issue
Block a user