diff options
author | phk <phk@FreeBSD.org> | 1999-07-02 16:29:47 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1999-07-02 16:29:47 +0000 |
commit | b6d067fe706d7df16489c3e6138e2c68c483bd7c (patch) | |
tree | 6dd5d101ce37a738d8b0f531e7273f744862ab5d /sys/fs/umapfs | |
parent | 60d229e604f6fdbe9921b44b59b82b2469286d78 (diff) | |
download | FreeBSD-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/fs/umapfs')
-rw-r--r-- | sys/fs/umapfs/umap_vnops.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/fs/umapfs/umap_vnops.c b/sys/fs/umapfs/umap_vnops.c index eff7841..ae47731 100644 --- a/sys/fs/umapfs/umap_vnops.c +++ b/sys/fs/umapfs/umap_vnops.c @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * @(#)umap_vnops.c 8.6 (Berkeley) 5/22/95 - * $Id: umap_vnops.c,v 1.26 1998/12/07 21:58:34 archie Exp $ + * $Id: umap_vnops.c,v 1.27 1999/06/16 23:27:41 mckusick Exp $ */ /* @@ -294,8 +294,6 @@ umap_getattr(ap) error = umap_bypass((struct vop_generic_args *)ap); if (error) return (error); - /* Requires that arguments be restored. */ - ap->a_vap->va_fsid = ap->a_vp->v_mount->mnt_stat.f_fsid.val[0]; /* * Umap needs to map the uid and gid returned by a stat |