]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit24a4c821c1f33b186af4bd657ecb7f675a96c1e1
tree9978388978604207cc78da1c81b97625857256cb
parentd30c54050ba9c1f3ee469dfbefa5f8da3f4e42d3
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