diff options
author | Nathan Scott <nathans@sgi.com> | 2006-03-13 21:19:08 -0500 |
---|---|---|
committer | Nathan Scott <nathans@sgi.com> | 2006-03-13 21:19:08 -0500 |
commit | 20722a91921bd9e9d4ba5c8f801d143e72e58418 (patch) | |
tree | bf6dc377ff28bd3a89c41c7724db6715a7f110d4 /fs/xfs | |
parent | 8758280fcc6129be89503efe93bb59eaf2f85d28 (diff) |
[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>
Diffstat (limited to 'fs/xfs')
-rw-r--r-- | fs/xfs/quota/xfs_qm.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/fs/xfs/quota/xfs_qm.c b/fs/xfs/quota/xfs_qm.c index 7c0e39dc6189..fd4abb8a32c5 100644 --- a/fs/xfs/quota/xfs_qm.c +++ b/fs/xfs/quota/xfs_qm.c | |||
@@ -2788,9 +2788,7 @@ xfs_qm_freelist_destroy(xfs_frlist_t *ql) | |||
2788 | xfs_qm_dqdestroy(dqp); | 2788 | xfs_qm_dqdestroy(dqp); |
2789 | dqp = nextdqp; | 2789 | dqp = nextdqp; |
2790 | } | 2790 | } |
2791 | /* | 2791 | mutex_unlock(&ql->qh_lock); |
2792 | * Don't bother about unlocking. | ||
2793 | */ | ||
2794 | mutex_destroy(&ql->qh_lock); | 2792 | mutex_destroy(&ql->qh_lock); |
2795 | 2793 | ||
2796 | ASSERT(ql->qh_nelems == 0); | 2794 | ASSERT(ql->qh_nelems == 0); |