From b6d067fe706d7df16489c3e6138e2c68c483bd7c Mon Sep 17 00:00:00 2001 From: phk Date: Fri, 2 Jul 1999 16:29:47 +0000 Subject: Make sure that stat(2) and friends always return a valid st_dev field. Pseudo-FS need not fill in the va_fsid anymore, the syscall code will use the first half of the fsid, which now looks like a udev_t with major 255. --- sys/fs/fdescfs/fdesc_vnops.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'sys/fs/fdescfs') diff --git a/sys/fs/fdescfs/fdesc_vnops.c b/sys/fs/fdescfs/fdesc_vnops.c index 2d7dc39..bc0cb5b 100644 --- a/sys/fs/fdescfs/fdesc_vnops.c +++ b/sys/fs/fdescfs/fdesc_vnops.c @@ -35,7 +35,7 @@ * * @(#)fdesc_vnops.c 8.9 (Berkeley) 1/21/94 * - * $Id: fdesc_vnops.c,v 1.41 1999/01/27 22:42:06 dillon Exp $ + * $Id: fdesc_vnops.c,v 1.42 1999/05/31 11:27:49 phk Exp $ */ /* @@ -460,7 +460,6 @@ fdesc_getattr(ap) } vap->va_uid = 0; vap->va_gid = 0; - vap->va_fsid = vp->v_mount->mnt_stat.f_fsid.val[0]; vap->va_blocksize = DEV_BSIZE; vap->va_atime.tv_sec = boottime.tv_sec; vap->va_atime.tv_nsec = 0; -- cgit v1.1