Skip to content
Commit bc923818 authored by Zhang Qilong's avatar Zhang Qilong Committed by Andreas Gruenbacher
Browse files

gfs2: fix possible reference leak in gfs2_check_blk_type



In the fail path of gfs2_check_blk_type, forgetting to call
gfs2_glock_dq_uninit will result in rgd_gh reference leak.

Signed-off-by: default avatarZhang Qilong <zhangqilong3@huawei.com>
Signed-off-by: default avatarAndreas Gruenbacher <agruenba@redhat.com>
parent f8394f23
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment