[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)
commit24ad33ff714bd117cab30e71e2ad41e4e1185108
tree301cf623394254fcf224bee4cdd13a9c07586d39
parent87ae3c2411cfd280e8289e232b718fae9f63950b
[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