Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Dec 2008 17:07:13 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org
Subject:   svn commit: r185867 - in stable/7/sys: . contrib/pf dev/cxgb ufs/ufs
Message-ID:  <200812101707.mBAH7Dcf037147@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200812101707.mBAH7Dcf037147>