aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390/block/dasd_eckd.h
diff options
context:
space:
mode:
authorEric Sandeen <sandeen@redhat.com>2008-08-21 19:46:37 +0200
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2008-08-21 19:46:41 +0200
commit152382af4056aadc0c2ea2e8e8258b277be085bf (patch)
tree05cd2d88b4c1a919b1094f45d426aca808dd5894 /drivers/s390/block/dasd_eckd.h
parent[S390] cio: fix ccw group device cleanup (diff)
downloadlinux-dev-152382af4056aadc0c2ea2e8e8258b277be085bf.tar.xz
linux-dev-152382af4056aadc0c2ea2e8e8258b277be085bf.zip
[S390] fix ext2_find_next_bit
ext4 does not work on s390 because ext2_find_next_bit is broken. Fortunately this function is only used by ext4. The function uses ffs which does not work analog to ffz. The result of ffs has an offset of 1 which is not taken into account. To fix this use the low level __ffs_word function directly instead of the ill defined ffs. In addition the patch improves find_next_zero_bit and ext2_find_next_zero_bit by passing the bit offset into __ffz_word instead of adding it after the function call returned. Signed-off-by: Eric Sandeen <sandeen@redhat.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390/block/dasd_eckd.h')
0 files changed, 0 insertions, 0 deletions