Skip to content

Commit

Permalink
[XFS] Fix a mutex_destroy diagnostic about a locked-mutex-on-destroy …
Browse files Browse the repository at this point in the history
…from

quota code.

SGI-PV: 949149
SGI-Modid: xfs-linux-melb:xfs-kern:25123a

Signed-off-by: Nathan Scott <nathans@sgi.com>
  • Loading branch information
Nathan Scott committed Mar 14, 2006
1 parent 8758280 commit 20722a9
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions fs/xfs/quota/xfs_qm.c
Original file line number Diff line number Diff line change
Expand Up @@ -2788,9 +2788,7 @@ xfs_qm_freelist_destroy(xfs_frlist_t *ql)
xfs_qm_dqdestroy(dqp);
dqp = nextdqp;
}
/*
* Don't bother about unlocking.
*/
mutex_unlock(&ql->qh_lock);
mutex_destroy(&ql->qh_lock);

ASSERT(ql->qh_nelems == 0);
Expand Down

0 comments on commit 20722a9

Please sign in to comment.