aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
diff options
context:
space:
mode:
authorChengguang Xu <[email protected]>2018-02-09 12:40:59 +0000
committerIlya Dryomov <[email protected]>2018-02-26 15:20:07 +0000
commit18106734b512664a8541026519ce4b862498b6c3 (patch)
treef9cccd9207dda67d143d000a3464a9469853f2ca /drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
parentlibceph, ceph: avoid memory leak when specifying same option several times (diff)
downloadkernel-18106734b512664a8541026519ce4b862498b6c3.tar.gz
kernel-18106734b512664a8541026519ce4b862498b6c3.zip
ceph: fix dentry leak when failing to init debugfs
When failing from ceph_fs_debugfs_init() in ceph_real_mount(), there is lack of dput of root_dentry and it causes slab errors, so change the calling order of ceph_fs_debugfs_init() and open_root_dentry() and do some cleanups to avoid this issue. Signed-off-by: Chengguang Xu <[email protected]> Reviewed-by: "Yan, Zheng" <[email protected]> Signed-off-by: Ilya Dryomov <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c')
0 files changed, 0 insertions, 0 deletions