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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 3 Mar 2018 09:24:33 +0000 (10:24 +0100)
commit4def40b2ee0281f1749f4d0a2dc13f06a8bf531f
tree22cd199378c0a93fc5a9590be8e90f78823cafba
parentba28394c579b9864bd8114eae1f877835ea96b93
xfs: quota: fix missed destroy of qi_tree_lock

[ Upstream commit 2196881566225f3c3428d1a5f847a992944daa5b ]

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>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/xfs/xfs_qm.c