ext4: quota macros cleanup
commite79220b94468feaf42ec05fe197a8dfe5a782f57
authorDmitry Monakhov <dmonakhov@openvz.org>
Wed, 9 Dec 2009 03:42:15 +0000 (8 22:42 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 14 Dec 2009 16:07:57 +0000 (14 08:07 -0800)
tree501d59fba6000cf8852577bbe945f608fc5cf089
parent89ca4c75b2ad9f2610d390590dcd16e60e909f43
ext4: quota macros cleanup

(cherry picked from commit 5aca07eb7d8f14d90c740834d15ca15277f4820c)

Currently all quota block reservation macros contains hard-coded "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>
Acked-by: Mingming Cao <cmm@us.ibm.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/ext4/ext4_jbd2.h
fs/ext4/extents.c
fs/ext4/inode.c
fs/ext4/migrate.c
fs/ext4/namei.c