mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-25 06:03:36 -04:00
[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>
This commit is contained in:
parent
c499ec24c3
commit
3af1efe8a3
2 changed files with 5 additions and 5 deletions
|
|
@ -1052,7 +1052,7 @@ struct reiserfs_dir_entry {
|
|||
int de_entrylen;
|
||||
int de_namelen;
|
||||
char *de_name;
|
||||
char *de_gen_number_bit_string;
|
||||
unsigned long *de_gen_number_bit_string;
|
||||
|
||||
__u32 de_dir_id;
|
||||
__u32 de_objectid;
|
||||
|
|
|
|||
Loading…
Reference in a new issue