ext4: consolidate in_range() definitions
commitd4c7414aa43c3c71245d33bb976c92af727240f4
authorAkinobu Mita <akinobu.mita@gmail.com>
Thu, 4 Mar 2010 04:55:01 +0000 (3 23:55 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 21 Mar 2011 19:44:12 +0000 (21 12:44 -0700)
treed5482ae71f835a9cf0d2befb8a623fc10afeb9cc
parent83647d51540c560bd6da6b2b14452a2c231b4ff7
ext4: consolidate in_range() definitions

commit 731eb1a03a8445cde2cb23ecfb3580c6fa7bb690 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/ext4/balloc.c
fs/ext4/ext4.h
fs/ext4/extents.c
fs/ext4/mballoc.h