mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-19 06:44:31 +00:00
Improve usefulness of the panic by printing the pointer to the problematic
dquot. In-tree gdb is often unable to get the dq value, so supply it in panic message. MFC after: 3 days
This commit is contained in:
parent
a51e3aa604
commit
7b603a4ac7
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=185739
|
@ -1151,7 +1151,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);
|
||||
|
|
Loading…
Reference in a new issue