aboutsummaryrefslogtreecommitdiffstats
path: root/fs/gfs2/incore.h
diff options
context:
space:
mode:
authorDavid Teigland <teigland@redhat.com>2013-03-05 16:01:47 -0500
committerSteven Whitehouse <swhiteho@redhat.com>2013-04-04 09:52:14 +0100
commit57c7310b8eb96b0fe3b0aaa8dc194adbae03bef3 (patch)
tree47d9cebf7d567debd012e3869e522166b5d9e5a8 /fs/gfs2/incore.h
parentMerge branch 'fixes' of git://git.linaro.org/people/rmk/linux-arm (diff)
downloadlinux-dev-57c7310b8eb96b0fe3b0aaa8dc194adbae03bef3.tar.xz
linux-dev-57c7310b8eb96b0fe3b0aaa8dc194adbae03bef3.zip
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.h1
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_ */