ext3: quota macros cleanup [V2]
authorDmitry Monakhov <dmonakhov@openvz.org>
Wed, 9 Dec 2009 00:05:30 +0000 (03:05 +0300)
committerJan Kara <jack@suse.cz>
Wed, 23 Dec 2009 12:33:54 +0000 (13:33 +0100)
commitc459001fa4f71deafb62e00fa70d35f695498965
treeec3bf9ebcd0b06944174ff5ec0d8e7136e7d91ff
parentc9f937e4a3f4ebf9924ec21d80632e5eb61d949c
ext3: quota macros cleanup [V2]

Currently all quota block reservation macros contains hardcoded "2"
aka MAXQUOTAS value. This is no good because in some places it is not
obvious to understand what does this digit represent. Let's introduce
new macro with self descriptive name.

Signed-off-by: Dmitry Monakhov <dmonakhov@openvz.org>
Signed-off-by: Jan Kara <jack@suse.cz>
fs/ext3/inode.c
fs/ext3/namei.c
include/linux/ext3_jbd.h