From b24729716fbf2147121efc0b1a78f04346a61440 Mon Sep 17 00:00:00 2001 From: adilger Date: Thu, 28 Apr 2005 00:15:20 +0000 Subject: [PATCH] Branch: b1_4 Define the quota constants for --- lustre/include/lustre/lustre_user.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/lustre/include/lustre/lustre_user.h b/lustre/include/lustre/lustre_user.h index 64c951d..924e4fb 100644 --- a/lustre/include/lustre/lustre_user.h +++ b/lustre/include/lustre/lustre_user.h @@ -170,6 +170,19 @@ struct if_dqblk { }; #endif +#ifndef QIF_BLIMITS +#define QIF_BLIMITS 1 +#define QIF_SPACE 2 +#define QIF_ILIMITS 4 +#define QIF_INODES 8 +#define QIF_BTIME 16 +#define QIF_ITIME 32 +#define QIF_LIMITS (QIF_BLIMITS | QIF_ILIMITS) +#define QIF_USAGE (QIF_SPACE | QIF_INODES) +#define QIF_TIMES (QIF_BTIME | QIF_ITIME) +#define QIF_ALL (QIF_LIMITS | QIF_USAGE | QIF_TIMES) +#endif + #endif /* !__KERNEL__ */ struct if_quotactl { -- 1.8.3.1