From 26dc86a27e91e792c4dfd593bbdaa0b2563f7e24 Mon Sep 17 00:00:00 2001 From: Jan Kara Date: Tue, 28 May 2002 19:45:00 -0700 Subject: [PATCH] Quota update [2/3] This changes the sysctl interface to use reasonable names in /proc/sys/fs/quota/ --- include/linux/sysctl.h | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'include/linux/sysctl.h') diff --git a/include/linux/sysctl.h b/include/linux/sysctl.h index 373d20b4c4a7..a5a6684f9a50 100644 --- a/include/linux/sysctl.h +++ b/include/linux/sysctl.h @@ -544,7 +544,19 @@ enum FS_LEASES=13, /* int: leases enabled */ FS_DIR_NOTIFY=14, /* int: directory notification enabled */ FS_LEASE_TIME=15, /* int: maximum time to wait for a lease break */ - FS_DQSTATS=16, /* int: disc quota suage statistics */ + FS_DQSTATS=16, /* disc quota usage statistics */ +}; + +/* /proc/sys/fs/quota/ */ +enum { + FS_DQ_LOOKUPS = 1, + FS_DQ_DROPS = 2, + FS_DQ_READS = 3, + FS_DQ_WRITES = 4, + FS_DQ_CACHE_HITS = 5, + FS_DQ_ALLOCATED = 6, + FS_DQ_FREE = 7, + FS_DQ_SYNCS = 8, }; /* CTL_DEBUG names: */ -- cgit v1.2.3