- Add sysctl for sizeof(znode_t), which will be used by fstat(1).
Approved by: pjd (mentor)
This commit is contained in:
parent
ed741d4e2d
commit
6509baf851
@ -57,6 +57,10 @@
|
||||
#include <sys/zfs_znode.h>
|
||||
#include <sys/refcount.h>
|
||||
|
||||
/* Used by fstat(1). */
|
||||
SYSCTL_INT(_debug_sizeof, OID_AUTO, znode, CTLFLAG_RD, 0, sizeof(znode_t),
|
||||
"sizeof(znode_t)");
|
||||
|
||||
/*
|
||||
* Functions needed for userland (ie: libzpool) are not put under
|
||||
* #ifdef_KERNEL; the rest of the functions have dependencies
|
||||
|
@ -57,6 +57,10 @@
|
||||
#include <sys/zfs_znode.h>
|
||||
#include <sys/refcount.h>
|
||||
|
||||
/* Used by fstat(1). */
|
||||
SYSCTL_INT(_debug_sizeof, OID_AUTO, znode, CTLFLAG_RD, 0, sizeof(znode_t),
|
||||
"sizeof(znode_t)");
|
||||
|
||||
/*
|
||||
* Functions needed for userland (ie: libzpool) are not put under
|
||||
* #ifdef_KERNEL; the rest of the functions have dependencies
|
||||
|
Loading…
x
Reference in New Issue
Block a user