quota: Make _SUSPENDED just a flag
authorJan Kara <jack@suse.cz>
Wed, 20 Aug 2008 14:21:01 +0000 (16:21 +0200)
committerMark Fasheh <mfasheh@suse.com>
Mon, 5 Jan 2009 16:36:56 +0000 (08:36 -0800)
commite4bc7b4b7ff783779b6928d55a9308910bf180a3
tree1cf54906c8686507f9cc127754210930d27a0471
parent1497d3ad487b64eeea83ac203263802755438949
quota: Make _SUSPENDED just a flag

Upto now, DQUOT_USR_SUSPENDED behaved like a state - i.e., either quota
was enabled or suspended or none. Now allowed states are 0, ENABLED,
ENABLED | SUSPENDED. This will be useful later when we implement separate
enabling of quota usage tracking and limits enforcement because we need to
keep track of a state which has been suspended.

Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Mark Fasheh <mfasheh@suse.com>
fs/dquot.c
include/linux/quotaops.h