- 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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=173268
@ -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…
Reference in New Issue
Block a user