From: Dmitry Monakhov Date: Wed, 18 Jul 2007 13:09:15 +0000 (-0400) Subject: ext4: extent macros cleanup X-Git-Tag: v2.6.23-rc1~494^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e9f410b1c035b6e63f0b4c3d6cfe4298d6a04492;p=pandora-kernel.git ext4: extent macros cleanup Use the EXT_LAST_INDEX macro; that's what it's there for. Clean up ext4_ext_ext_grow_indepth() so the correct EXT_FIRST_INDEX or EXT_FIRST_MACRO is used as necessary. The two macros are equivalent, so the C will collapse the if statement out, but it makes the code much more readable. Signed-off-by: Dmitry Monakhov Acked-by: Alex Tomas Signed-off-by: Dave Kleikamp Singed-off-by: Mingming Cao Signed-off-by: "Theodore Ts'o" --- Reading git-diff-tree failed