GFS2: Fix bug in block allocation
authorSteven Whitehouse <swhiteho@redhat.com>
Thu, 23 Apr 2009 07:54:02 +0000 (08:54 +0100)
committerSteven Whitehouse <swhiteho@redhat.com>
Thu, 23 Apr 2009 09:07:16 +0000 (10:07 +0100)
commitd8bd504ab800c8e9aadb983914a33e7166320bec
tree72b45fe08363441d53c5e464daa6886a6e11a8b8
parent952043ac12a117d8e94bddd9088338d7ad20ca7d
GFS2: Fix bug in block allocation

The new bitfit algorithm was counting from the wrong end of
64 bit words in the bitfield. This fixes it by using __ffs64
instead of fls64

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/rgrp.c