svn commit: r185869 - in releng/7.1/sys: . contrib/pf dev/cxgb ufs/ufs

[ Available lists | Index of svn-src-all | Month of Dec 2008 | Week of 10 Dec 2008 | Raw email | View thread | Wrap long lines | Reply ]
From
Konstantin Belousov <kib@FreeBSD.org>
Date
10 Dec 2008 17:20:39
Subject
svn commit: r185869 - in releng/7.1/sys: . contrib/pf dev/cxgb ufs/ufs
Message-ID
200812101720.mBAHKdxC037501@svn.freebsd.org


[ Hide this part ]
Author: kib
Date: Wed Dec 10 17:20:39 2008
New Revision: 185869
URL: http://svn.freebsd.org/changeset/base/185869

Log:
MFC r185739:
Improve usefulness of the panic by printing the pointer to the problematic
dquot.

Approved by: re (kensmith)

Modified:
releng/7.1/sys/ (props changed)
releng/7.1/sys/contrib/pf/ (props changed)
releng/7.1/sys/dev/cxgb/ (props changed)
releng/7.1/sys/ufs/ufs/ufs_quota.c

Modified: releng/7.1/sys/ufs/ufs/ufs_quota.c
==============================================================================
--- releng/7.1/sys/ufs/ufs/ufs_quota.c Wed Dec 10 17:16:11 2008 (r185868)
+++ releng/7.1/sys/ufs/ufs/ufs_quota.c Wed Dec 10 17:20:39 2008 (r185869)
@@ -1207,7 +1207,7 @@ hfound: DQI_LOCK(dq);
return (EUSERS);
}
if (dq->dq_cnt || (dq->dq_flags & DQ_MOD))
- panic("dqget: free dquot isn't");
+ panic("dqget: free dquot isn't %p", dq);
TAILQ_REMOVE(&dqfreelist, dq, dq_freelist);
if (dq->dq_ump != NULL)
LIST_REMOVE(dq, dq_hash);

Elapsed time: 0.113 seconds