diff options
author | Dmitry Monakhov <dmonakhov@sw.ru> | 2007-07-18 09:09:15 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2007-07-18 09:09:15 -0400 |
commit | e9f410b1c035b6e63f0b4c3d6cfe4298d6a04492 (patch) | |
tree | 8c7cb3c756102e201025086205bd148a5bcc6904 /arch | |
parent | 26d535ed24f74ce949d7b49e40574c45cd845cdd (diff) | |
download | linux-e9f410b1c035b6e63f0b4c3d6cfe4298d6a04492.tar.bz2 |
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 <dmonakhov@openvz.org>
Acked-by: Alex Tomas <alex@clusterfs.com>
Signed-off-by: Dave Kleikamp <shaggy@linux.vnet.ibm.com>
Singed-off-by: Mingming Cao <cmm@us.ibm.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions