diff options
Diffstat (limited to 'xlators/features/quota/src/quota.h')
-rw-r--r-- | xlators/features/quota/src/quota.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/xlators/features/quota/src/quota.h b/xlators/features/quota/src/quota.h index 3f1458a3..c4d5c6ad 100644 --- a/xlators/features/quota/src/quota.h +++ b/xlators/features/quota/src/quota.h @@ -184,6 +184,11 @@ struct quota_priv { }; typedef struct quota_priv quota_priv_t; +typedef struct quota_limit { + int64_t hard_lim; + int64_t soft_lim_percent; +} quota_limit_t __attribute__ ((packed)); + int quota_enforcer_lookup (call_frame_t *frame, xlator_t *this, loc_t *loc, dict_t *xdata, fop_lookup_cbk_t cbk); |