]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit51f02c3dde3543f61c1bdc34f78b49a9da63c6e8
tree3f2604369c0ea1a742a31eb29cae672b335826cc
parent80aa0e85f32cfece45dc153867548152a1a8074f
[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