]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfd0d9d2ccb666d3e01fa5df236ba26419580f223
tree8862803a3b25a829985351608ccc9460f056c33f
parentfbaf630988539cc582625d6180f25a4d4f30f46d
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