The first argument to find_next_zero_bit needs to be aligned,
but this is coming from the xfs_buf_log_format_t on-disk
struct, which can't be padded or otherwise modified w/o breaking
on-disk compatibility... so create a temporary, aligned
variable, copy over the bitmap, and send that to find_next_zero_bit
This only happens in recovery, so it's ugly but not too bad.
Date: Tue Aug 20 09:02:43 PDT 2002
Workarea:
stout.americas.sgi.com:/localhome/src/sandeen/2.4.x-xfs/workarea-alwaysclean
The following file(s) were checked into:
bonnie.engr.sgi.com:/isms/slinx/2.4.x-xfs
Modid: 2.4.x-xfs:slinx:125454a
linux/fs/xfs/xfs_bit.c - 1.19
- Fix recovery unaligned access on ia64
|