View | Details | Raw Unified | Return to bug 14966
Collapse All | Expand All

(-)kern_descrip.c (-2 / +3 lines)
Lines 548-556 Link Here
548
		panic("ofstat");
548
		panic("ofstat");
549
		/*NOTREACHED*/
549
		/*NOTREACHED*/
550
	}
550
	}
551
	cvtstat(&ub, &oub);
551
	if (error == 0) {
552
	if (error == 0)
552
		cvtstat(&ub, &oub);
553
		error = copyout((caddr_t)&oub, (caddr_t)uap->sb, sizeof (oub));
553
		error = copyout((caddr_t)&oub, (caddr_t)uap->sb, sizeof (oub));
554
	}
554
	return (error);
555
	return (error);
555
}
556
}
556
#endif /* COMPAT_43 || COMPAT_SUNOS */
557
#endif /* COMPAT_43 || COMPAT_SUNOS */
(-)vfs_syscalls.c (+2 lines)
Lines 1677-1682 Link Here
1677
	nsb->st_blksize = sb->st_blksize;
1677
	nsb->st_blksize = sb->st_blksize;
1678
	nsb->st_flags = sb->st_flags;
1678
	nsb->st_flags = sb->st_flags;
1679
	nsb->st_gen = sb->st_gen;
1679
	nsb->st_gen = sb->st_gen;
1680
	nsb->st_qspare[0] = sb->st_qspare[0];
1681
	nsb->st_qspare[1] = sb->st_qspare[1];
1680
}
1682
}
1681
1683
1682
#ifndef _SYS_SYSPROTO_H_
1684
#ifndef _SYS_SYSPROTO_H_
(-)vfs_vnops.c (+8 lines)
Lines 375-380 Link Here
375
	error = VOP_GETATTR(vp, vap, p->p_ucred, p);
375
	error = VOP_GETATTR(vp, vap, p->p_ucred, p);
376
	if (error)
376
	if (error)
377
		return (error);
377
		return (error);
378
379
	/*
380
	 * Zero the spare stat fields
381
	 */
382
	sb->st_lspare = 0;
383
	sb->st_qspare[0] = 0;
384
	sb->st_qspare[1] = 0;
385
378
	/*
386
	/*
379
	 * Copy from vattr table
387
	 * Copy from vattr table
380
	 */
388
	 */

Return to bug 14966