svn commit: r185867 - in stable/7/sys: . contrib/pf dev/cxgb ufs/ufs
Konstantin Belousov
kib at FreeBSD.org
Wed Dec 10 09:07:14 PST 2008
Author: kib
Date: Wed Dec 10 17:07:13 2008
New Revision: 185867
URL: http://svn.freebsd.org/changeset/base/185867
Log:
MFC r185739:
Improve usefulness of the panic by printing the pointer to the problematic
dquot.
Approved by: re (kensmith)
Modified:
stable/7/sys/ (props changed)
stable/7/sys/contrib/pf/ (props changed)
stable/7/sys/dev/cxgb/ (props changed)
stable/7/sys/ufs/ufs/ufs_quota.c
Modified: stable/7/sys/ufs/ufs/ufs_quota.c
==============================================================================
--- stable/7/sys/ufs/ufs/ufs_quota.c Wed Dec 10 17:00:14 2008 (r185866)
+++ stable/7/sys/ufs/ufs/ufs_quota.c Wed Dec 10 17:07:13 2008 (r185867)
@@ -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);
More information about the svn-src-all
mailing list