ext4: consolidate in_range() definitions
authorAkinobu Mita <akinobu.mita@gmail.com>
Thu, 4 Mar 2010 04:55:01 +0000 (23:55 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 4 Mar 2010 04:55:01 +0000 (23:55 -0500)
commit731eb1a03a8445cde2cb23ecfb3580c6fa7bb690
tree9978388978604207cc78da1c81b97625857256cb
parentbda00de7e8569b1fcde27b68fa59e74e14c5f93a
ext4: consolidate in_range() definitions

There are duplicate macro definitions of in_range() in mballoc.h and
balloc.c.  This consolidates these two definitions into ext4.h, and
changes extents.c to use in_range() as well.

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Cc: Andreas Dilger <adilger@sun.com>
fs/ext4/balloc.c
fs/ext4/ext4.h
fs/ext4/extents.c
fs/ext4/mballoc.h