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

Konstantin Belousov kib at FreeBSD.org
Wed Dec 10 09:20:39 PST 2008


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);


More information about the svn-src-all mailing list