aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
diff options
context:
space:
mode:
authorBob Peterson <[email protected]>2015-10-01 16:47:31 +0000
committerBob Peterson <[email protected]>2015-10-01 17:00:59 +0000
commit491e94f790982bec5a1334dd3db2708de3724bdf (patch)
tree710667725821e752d23d6bb1b829bbe6cee0b958 /drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
parentGFS2: Set s_mode before parsing mount options (diff)
downloadkernel-491e94f790982bec5a1334dd3db2708de3724bdf.tar.gz
kernel-491e94f790982bec5a1334dd3db2708de3724bdf.zip
gfs2: Add missing else in trans_add_meta/data
This patch fixes a timing window that causes a segfault. The problem is that bd can remain NULL throughout the function and then reference that NULL pointer if the bh->b_private starts out NULL, then someone sets it to non-NULL inside the locking. In that case, bd still needs to be set. Signed-off-by: Bob Peterson <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c')
0 files changed, 0 insertions, 0 deletions