Fix panic() message reporting ufs instead of nandfs

PR:		213438
Approved by:	kib
This commit is contained in:
martymac 2016-10-13 19:33:07 +00:00
parent 7e723c8be4
commit 786a65db12

View File

@ -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);