From 89b9b0c8da4a1294d6759992ce7752f5570589c6 Mon Sep 17 00:00:00 2001 From: Jan Kara Date: Thu, 1 May 2008 04:35:05 -0700 Subject: [PATCH] --- yaml --- r: 95675 b: refs/heads/master c: c32e026efc1e1a4f9e36babebf123f2b88205b0b h: refs/heads/master i: 95673: d0a08bd24db9ea0d212a5d5cbae7be1ddd6f0ae8 95671: 7327524a6785b8c357e8a3970dbef5d2bbc4e659 v: v3 --- [refs] | 2 +- trunk/include/linux/quota.h | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 0d17fcbb340c..91be70ff6e49 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 0d34aa4d5a3e5d141bb4d07ed5d4bf02d4d4998a +refs/heads/master: c32e026efc1e1a4f9e36babebf123f2b88205b0b diff --git a/trunk/include/linux/quota.h b/trunk/include/linux/quota.h index 52e49dce6584..dcddfb200947 100644 --- a/trunk/include/linux/quota.h +++ b/trunk/include/linux/quota.h @@ -347,6 +347,9 @@ struct quota_info { ((type) == USRQUOTA ? (sb_dqopt(sb)->flags & DQUOT_USR_SUSPENDED) : \ (sb_dqopt(sb)->flags & DQUOT_GRP_SUSPENDED)) +#define sb_any_quota_suspended(sb) (sb_has_quota_suspended(sb, USRQUOTA) | \ + sb_has_quota_suspended(sb, GRPQUOTA)) + int register_quota_format(struct quota_format_type *fmt); void unregister_quota_format(struct quota_format_type *fmt);