mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2025-01-18 11:54:37 +08:00
[XFS] Fix a mutex_destroy diagnostic about a locked-mutex-on-destroy from
quota code. SGI-PV: 949149 SGI-Modid: xfs-linux-melb:xfs-kern:25123a Signed-off-by: Nathan Scott <nathans@sgi.com>
This commit is contained in:
parent
8758280fcc
commit
20722a9192
@ -2788,9 +2788,7 @@ xfs_qm_freelist_destroy(xfs_frlist_t *ql)
|
|||||||
xfs_qm_dqdestroy(dqp);
|
xfs_qm_dqdestroy(dqp);
|
||||||
dqp = nextdqp;
|
dqp = nextdqp;
|
||||||
}
|
}
|
||||||
/*
|
mutex_unlock(&ql->qh_lock);
|
||||||
* Don't bother about unlocking.
|
|
||||||
*/
|
|
||||||
mutex_destroy(&ql->qh_lock);
|
mutex_destroy(&ql->qh_lock);
|
||||||
|
|
||||||
ASSERT(ql->qh_nelems == 0);
|
ASSERT(ql->qh_nelems == 0);
|
||||||
|
Loading…
Reference in New Issue
Block a user