xfs: quota: fix missed destroy of qi_tree_lock
authorAliaksei Karaliou <akaraliou.dev@gmail.com>
Thu, 21 Dec 2017 21:18:26 +0000 (13:18 -0800)
committerDarrick J. Wong <darrick.wong@oracle.com>
Tue, 2 Jan 2018 18:16:32 +0000 (10:16 -0800)
commit2196881566225f3c3428d1a5f847a992944daa5b
tree8754aabea523ce277378ab4d0c2dbcc5bb1539bc
parent68c58e9b9a88c1a9d0c2eaf6c7acefb00f5fbbfb
xfs: quota: fix missed destroy of qi_tree_lock

xfs_qm_destroy_quotainfo() does not destroy quotainfo->qi_tree_lock
while destroys quotainfo->qi_quotaofflock.

Signed-off-by: Aliaksei Karaliou <akaraliou.dev@gmail.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
fs/xfs/xfs_qm.c