Provide a less cryptic panic message in place of just "found inode."

This commit is contained in:
Tom Rhodes 2006-05-16 18:51:22 +00:00
parent edb75eca27
commit e45269bf51

View File

@ -1516,7 +1516,8 @@ softdep_setup_inomapdep(bp, ip, newinum)
ACQUIRE_LOCK(&lk);
if ((inodedep_lookup(UFSTOVFS(ip->i_ump), newinum, DEPALLOC|NODELAY,
&inodedep)))
panic("softdep_setup_inomapdep: found inode");
panic("softdep_setup_inomapdep: dependency for new inode "
"already exists");
inodedep->id_buf = bp;
inodedep->id_state &= ~DEPCOMPLETE;
bmsafemap = bmsafemap_lookup(inodedep->id_list.wk_mp, bp);