]> git.baikalelectronics.ru Git - kernel.git/commit
[XFS] Kill off xfs_count_bits
authorEric Sandeen <sandeen@sandeen.net>
Thu, 28 Jun 2007 06:43:30 +0000 (16:43 +1000)
committerTim Shimmin <tes@chook.melbourne.sgi.com>
Sat, 14 Jul 2007 05:36:43 +0000 (15:36 +1000)
commitd135f3490600e5fd98869ab28ac9ae40e8844c44
tree301cf623394254fcf224bee4cdd13a9c07586d39
parent49cd0a53038666db7b60110b9a5c2d83fa7f85f0
[XFS] Kill off xfs_count_bits

xfs_count_bits is only called once, and is then compared to 0. IOW, what
it really wants to know is, is the bitmap empty. This can be done more
simply, certainly.

SGI-PV: 966503
SGI-Modid: xfs-linux-melb:xfs-kern:28944a

Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
Signed-off-by: David Chinner <dgc@sgi.com>
Signed-off-by: Tim Shimmin <tes@sgi.com>
fs/xfs/xfs_bit.c
fs/xfs/xfs_bit.h
fs/xfs/xfs_buf_item.c