]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite49b3564415b80f3f8e0d551c4ffd009dc7f19eb
tree72b45fe08363441d53c5e464daa6886a6e11a8b8
parenta0547db976d87cbe9b27e1c22c7fc8b3c472d315
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