[PATCH] reiserfs: fix unaligned bitmap usage
authorJeff Mahoney <jeffm@suse.com>
Thu, 2 Mar 2006 18:25:26 +0000 (13:25 -0500)
committerLinus Torvalds <torvalds@g5.osdl.org>
Thu, 2 Mar 2006 18:37:59 +0000 (10:37 -0800)
commit3af1efe8a301f5b1c813f5f761cb1e10d6175605
tree3f2604369c0ea1a742a31eb29cae672b335826cc
parentc499ec24c31edf270e777a868ffd0daddcfe7ebd
[PATCH] reiserfs: fix unaligned bitmap usage

The bitmaps associated with generation numbers for directory entries
are declared as an array of ints. On some platforms, this causes alignment
exceptions.

The following patch uses the standard bitmap declaration macros to
declare the bitmaps, fixing the problem.

Originally from Takashi Iwai.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Acked-by: Jeff Mahoney <jeffm@suse.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/reiserfs/namei.c
include/linux/reiserfs_fs.h