aboutsummaryrefslogtreecommitdiff
path: root/scripts/bpf_helpers_doc.py
diff options
context:
space:
mode:
authorAndrew Price <[email protected]>2018-10-08 07:52:43 -0500
committerBob Peterson <[email protected]>2018-10-08 07:52:43 -0500
commit4c62bd9cea7bcf10292f7e4c57a2bca332942697 (patch)
tree4f25341b2191bf08d1d0182e75cbdc50732fb0c7 /scripts/bpf_helpers_doc.py
parente54c78a27fcdef406af799f360a93e6754adeefe (diff)
gfs2: Don't leave s_fs_info pointing to freed memory in init_sbd
When alloc_percpu() fails, sdp gets freed but sb->s_fs_info still points to the same address. Move the assignment after that error check so that s_fs_info can only point to a valid sdp or NULL, which is checked for later in the error path, in gfs2_kill_super(). Reported-by: [email protected] Signed-off-by: Andrew Price <[email protected]> Signed-off-by: Bob Peterson <[email protected]>
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions