docs: admin-guide: sysctl: fix details of struct dentry_stat_t
Commitc8c0c239d5
moved struct dentry_stat_t to fs/dcache.c but did not update its location in Documentation, so update that now. Also change each struct member from int to long as done in commit3942c07ccf
. Fixes:c8c0c239d5
("fs: move dcache sysctls to its own file") Fixes:3942c07ccf
("fs: bump inode and dentry counters to long") Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Cc: Jonathan Corbet <corbet@lwn.net> Cc: linux-doc@vger.kernel.org Cc: Alexander Viro <viro@zeniv.linux.org.uk> Cc: Christian Brauner <brauner@kernel.org> Cc: linux-fsdevel@vger.kernel.org Cc: Luis Chamberlain <mcgrof@kernel.org> Cc: Arnd Bergmann <arnd@arndb.de> Cc: Glauber Costa <glommer@openvz.org> Acked-by: Christian Brauner <brauner@kernel.org> Signed-off-by: Jonathan Corbet <corbet@lwn.net> Link: https://lore.kernel.org/r/20230923195144.26043-1-rdunlap@infradead.org
This commit is contained in:
parent
1f597b1a6e
commit
92224e806f
@ -42,16 +42,16 @@ pre-allocation or re-sizing of any kernel data structures.
|
|||||||
dentry-state
|
dentry-state
|
||||||
------------
|
------------
|
||||||
|
|
||||||
This file shows the values in ``struct dentry_stat``, as defined in
|
This file shows the values in ``struct dentry_stat_t``, as defined in
|
||||||
``linux/include/linux/dcache.h``::
|
``fs/dcache.c``::
|
||||||
|
|
||||||
struct dentry_stat_t dentry_stat {
|
struct dentry_stat_t dentry_stat {
|
||||||
int nr_dentry;
|
long nr_dentry;
|
||||||
int nr_unused;
|
long nr_unused;
|
||||||
int age_limit; /* age in seconds */
|
long age_limit; /* age in seconds */
|
||||||
int want_pages; /* pages requested by system */
|
long want_pages; /* pages requested by system */
|
||||||
int nr_negative; /* # of unused negative dentries */
|
long nr_negative; /* # of unused negative dentries */
|
||||||
int dummy; /* Reserved for future use */
|
long dummy; /* Reserved for future use */
|
||||||
};
|
};
|
||||||
|
|
||||||
Dentries are dynamically allocated and deallocated.
|
Dentries are dynamically allocated and deallocated.
|
||||||
|
Loading…
Reference in New Issue
Block a user