quota: Remove bogus 'optimization' in check_idq() and check_bdq()
authorJan Kara <jack@suse.cz>
Wed, 20 Aug 2008 13:49:59 +0000 (15:49 +0200)
committerMark Fasheh <mfasheh@suse.com>
Mon, 5 Jan 2009 16:36:56 +0000 (08:36 -0800)
commit1497d3ad487b64eeea83ac203263802755438949
tree8862803a3b25a829985351608ccc9460f056c33f
parent12095460f7f315f8ef67a55b2194195d325d48d7
quota: Remove bogus 'optimization' in check_idq() and check_bdq()

Checks like <= 0 for an unsigned type do not make much sence. The value
could be only 0 and that does not happen often enough for the check
to be worth it.

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