summaryrefslogtreecommitdiffstats
path: root/sys/miscfs/fdesc
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1999-07-02 16:29:47 +0000
committerphk <phk@FreeBSD.org>1999-07-02 16:29:47 +0000
commitb6d067fe706d7df16489c3e6138e2c68c483bd7c (patch)
tree6dd5d101ce37a738d8b0f531e7273f744862ab5d /sys/miscfs/fdesc
parent60d229e604f6fdbe9921b44b59b82b2469286d78 (diff)
downloadFreeBSD-src-b6d067fe706d7df16489c3e6138e2c68c483bd7c.zip
FreeBSD-src-b6d067fe706d7df16489c3e6138e2c68c483bd7c.tar.gz
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.
Diffstat (limited to 'sys/miscfs/fdesc')
-rw-r--r--sys/miscfs/fdesc/fdesc_vnops.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/miscfs/fdesc/fdesc_vnops.c b/sys/miscfs/fdesc/fdesc_vnops.c
index 2d7dc39..bc0cb5b 100644
--- a/sys/miscfs/fdesc/fdesc_vnops.c
+++ b/sys/miscfs/fdesc/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;
OpenPOWER on IntegriCloud