panic("ofstat");
/*NOTREACHED*/
}
cvtstat(&ub, &oub);
if (error == 0) {
if (error == 0)
error = copyout((caddr_t)&oub, (caddr_t)uap->sb, sizeof (oub));
return (error);
#endif /* COMPAT_43 || COMPAT_SUNOS */
nsb->st_blksize = sb->st_blksize;
nsb->st_flags = sb->st_flags;
nsb->st_gen = sb->st_gen;
nsb->st_qspare[0] = sb->st_qspare[0];
nsb->st_qspare[1] = sb->st_qspare[1];
#ifndef _SYS_SYSPROTO_H_
error = VOP_GETATTR(vp, vap, p->p_ucred, p);
if (error)
/*
* Zero the spare stat fields
*/
sb->st_lspare = 0;
sb->st_qspare[0] = 0;
sb->st_qspare[1] = 0;
* Copy from vattr table