diff options
author | Xiongwei Song <sxwjean@me.com> | 2018-01-11 09:45:51 -0800 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2018-01-12 14:09:08 -0800 |
commit | 1da061899321c15500caec735f8998f4c1e1b48f (patch) | |
tree | 5aa7387c1df166637fca63c4ea251bf79078658e /tools | |
parent | c96900435fa9fdfd9702a60cd765bd85e380303e (diff) | |
download | linux-1da061899321c15500caec735f8998f4c1e1b48f.tar.bz2 |
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')
0 files changed, 0 insertions, 0 deletions