commit | 1da061899321c15500caec735f8998f4c1e1b48f | [log] [tgz] |
---|---|---|
author | Xiongwei Song <sxwjean@me.com> | Thu Jan 11 09:45:51 2018 -0800 |
committer | Darrick J. Wong <darrick.wong@oracle.com> | Fri Jan 12 14:09:08 2018 -0800 |
tree | 5aa7387c1df166637fca63c4ea251bf79078658e | |
parent | c96900435fa9fdfd9702a60cd765bd85e380303e [diff] |
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>