summaryrefslogtreecommitdiff
path: root/include/linux/quota.h
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2008-11-25 17:31:31 +0300
committerMark Fasheh <mfasheh@suse.com>2009-01-05 19:40:25 +0300
commit5cd9d5bb86daf632a40f90e2321ea9379e42f073 (patch)
treedd8baa659c18e61b94c1c366b93f161611cec8bd /include/linux/quota.h
parent9a2f3866c825c67c3a5806799cdc93fb7517f0c4 (diff)
downloadlinux-5cd9d5bb86daf632a40f90e2321ea9379e42f073.tar.xz
quota: Unexport dqblk_v1.h and dqblk_v2.h
Unexport header files dqblk_v[12].h since except for quota format ID they don't contain information userspace should be interested in. Move ID definitions to quota.h. Signed-off-by: Jan Kara <jack@suse.cz> Signed-off-by: Mark Fasheh <mfasheh@suse.com>
Diffstat (limited to 'include/linux/quota.h')
-rw-r--r--include/linux/quota.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/quota.h b/include/linux/quota.h
index ec82beb10424..d72d5d84fde5 100644
--- a/include/linux/quota.h
+++ b/include/linux/quota.h
@@ -70,6 +70,10 @@
#define Q_GETQUOTA 0x800007 /* get user quota structure */
#define Q_SETQUOTA 0x800008 /* set user quota structure */
+/* Quota format type IDs */
+#define QFMT_VFS_OLD 1
+#define QFMT_VFS_V0 2
+
/* Size of block in which space limits are passed through the quota
* interface */
#define QIF_DQBLKSIZE_BITS 10