diff options
author | David Teigland <teigland@redhat.com> | 2013-03-05 16:01:47 -0500 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2013-04-04 09:52:14 +0100 |
commit | 57c7310b8eb96b0fe3b0aaa8dc194adbae03bef3 (patch) | |
tree | 47d9cebf7d567debd012e3869e522166b5d9e5a8 /fs/gfs2/incore.h | |
parent | 66ade474237745a57b7e87da9a93c7ec69fd52bb (diff) | |
download | linux-57c7310b8eb96b0fe3b0aaa8dc194adbae03bef3.tar.bz2 |
GFS2: use kmalloc for lvb bitmap
The temp lvb bitmap was on the stack, which could
be an alignment problem for __set_bit_le. Use
kmalloc for it instead.
Signed-off-by: David Teigland <teigland@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/incore.h')
-rw-r--r-- | fs/gfs2/incore.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/gfs2/incore.h b/fs/gfs2/incore.h index 156e42ec84ea..5c29216e9cc1 100644 --- a/fs/gfs2/incore.h +++ b/fs/gfs2/incore.h @@ -588,6 +588,7 @@ struct lm_lockstruct { struct dlm_lksb ls_control_lksb; /* control_lock */ char ls_control_lvb[GDLM_LVB_SIZE]; /* control_lock lvb */ struct completion ls_sync_wait; /* {control,mounted}_{lock,unlock} */ + char *ls_lvb_bits; spinlock_t ls_recover_spin; /* protects following fields */ unsigned long ls_recover_flags; /* DFL_ */ |