X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Flinux%2Fquota.h;h=dcddfb2009479f42a543363d0c0873c76d4bfcee;hb=6d63c275572d1e6f00d4fa154f16fbb0d8c2d2bf;hp=52e49dce658402fc652c082ff1e6979ff6ead7e2;hpb=9781db7b345b5dfe93787aaaf310c861db7c1ede;p=linux-2.6 diff --git a/include/linux/quota.h b/include/linux/quota.h index 52e49dce65..dcddfb2009 100644 --- a/include/linux/quota.h +++ b/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);