Provide a less cryptic panic message in place of just "found inode."
This commit is contained in:
parent
9b2b7d4054
commit
08897022ad
@ -1516,7 +1516,8 @@ softdep_setup_inomapdep(bp, ip, newinum)
|
|||||||
ACQUIRE_LOCK(&lk);
|
ACQUIRE_LOCK(&lk);
|
||||||
if ((inodedep_lookup(UFSTOVFS(ip->i_ump), newinum, DEPALLOC|NODELAY,
|
if ((inodedep_lookup(UFSTOVFS(ip->i_ump), newinum, DEPALLOC|NODELAY,
|
||||||
&inodedep)))
|
&inodedep)))
|
||||||
panic("softdep_setup_inomapdep: found inode");
|
panic("softdep_setup_inomapdep: dependency for new inode "
|
||||||
|
"already exists");
|
||||||
inodedep->id_buf = bp;
|
inodedep->id_buf = bp;
|
||||||
inodedep->id_state &= ~DEPCOMPLETE;
|
inodedep->id_state &= ~DEPCOMPLETE;
|
||||||
bmsafemap = bmsafemap_lookup(inodedep->id_list.wk_mp, bp);
|
bmsafemap = bmsafemap_lookup(inodedep->id_list.wk_mp, bp);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user