diff options
| author | Xue jiufei <[email protected]> | 2015-06-24 23:55:20 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2015-06-25 00:49:39 +0000 |
| commit | 74e364ad1b13fd518a0bd4e5aec56d5e8706152f (patch) | |
| tree | fb2c14c51cf5c4d85252893e5a24ea2191ac19e4 /fs/proc/array.c | |
| parent | ocfs2: o2net: should remove debugfs in o2net_init() out branch (diff) | |
| download | kernel-74e364ad1b13fd518a0bd4e5aec56d5e8706152f.tar.gz kernel-74e364ad1b13fd518a0bd4e5aec56d5e8706152f.zip | |
ocfs2: fix NULL pointer dereference in function ocfs2_abort_trigger()
ocfs2_abort_trigger() use bh->b_assoc_map to get sb. But there's no
function to set bh->b_assoc_map in ocfs2, it will trigger NULL pointer
dereference while calling this function. We can get sb from
bh->b_bdev->bd_super instead of b_assoc_map.
[[email protected]: update comment, per Joseph]
Signed-off-by: joyce.xue <[email protected]>
Cc: Joseph Qi <[email protected]>
Cc: Mark Fasheh <[email protected]>
Cc: Joel Becker <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions
