ext4: quota macros cleanup
authorDmitry Monakhov <dmonakhov@openvz.org>
Wed, 9 Dec 2009 03:42:15 +0000 (22:42 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 9 Dec 2009 03:42:15 +0000 (22:42 -0500)
commit5aca07eb7d8f14d90c740834d15ca15277f4820c
tree362ab7bb56cf0920ee27bbaf97e2657c022eb4b4
parent8aa6790f876e81f5a2211fe1711a5fe3fe2d7b20
ext4: quota macros cleanup

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>
fs/ext4/ext4_jbd2.h
fs/ext4/extents.c
fs/ext4/inode.c
fs/ext4/migrate.c
fs/ext4/namei.c