mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-08 01:20:40 +00:00
Fix panic() message reporting ufs instead of nandfs
PR: 213438 Approved by: kib
This commit is contained in:
parent
bff207520a
commit
2ee1ec5d82
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=307232
|
@ -2211,7 +2211,7 @@ nandfs_whiteout(struct vop_whiteout_args *ap)
|
|||
/* Create a new directory whiteout */
|
||||
#ifdef INVARIANTS
|
||||
if ((cnp->cn_flags & SAVENAME) == 0)
|
||||
panic("ufs_whiteout: missing name");
|
||||
panic("nandfs_whiteout: missing name");
|
||||
#endif
|
||||
error = nandfs_add_dirent(dvp, NANDFS_WHT_INO, cnp->cn_nameptr,
|
||||
cnp->cn_namelen, DT_WHT);
|
||||
|
|
Loading…
Reference in a new issue