diff options
author | 2018-01-11 09:45:51 -0800 | |
---|---|---|
committer | 2018-01-12 14:09:08 -0800 | |
commit | 1da061899321c15500caec735f8998f4c1e1b48f (patch) | |
tree | 5aa7387c1df166637fca63c4ea251bf79078658e /tools/perf/scripts/python | |
parent | xfs: use %px for data pointers when debugging (diff) | |
download | wireguard-linux-1da061899321c15500caec735f8998f4c1e1b48f.tar.xz wireguard-linux-1da061899321c15500caec735f8998f4c1e1b48f.zip |
xfs: destroy mutex pag_ici_reclaim_lock before free
The mutex pag_ici_reclaim_lock of xfs_perag_t structure is initialized in
xfs_initialize_perag. If happen errors in xfs_initialize_perag, or free
resources in xfs_free_perag, wo need to destroy the mutex before free
perag.
Signed-off-by: Xiongwei Song <sxwjean@me.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions