diff options
author | bde <bde@FreeBSD.org> | 1998-01-01 08:28:26 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1998-01-01 08:28:26 +0000 |
commit | 9c98de2bbabe2220cd772d4491f7fa5cad8d6648 (patch) | |
tree | c72d4be87f3ee98c33fe174840b7ad626eec0bd1 /sys/fs/umapfs | |
parent | a472b7fd712916a6d641014da562aa2202fc7274 (diff) | |
download | FreeBSD-src-9c98de2bbabe2220cd772d4491f7fa5cad8d6648.zip FreeBSD-src-9c98de2bbabe2220cd772d4491f7fa5cad8d6648.tar.gz |
Fixed missing initialization of mp->mnt_stat. At least vm depends on
at least mp->mnt_stat.f_iosize being nonzero.
PR: 5212
Diffstat (limited to 'sys/fs/umapfs')
-rw-r--r-- | sys/fs/umapfs/umap_vfsops.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/fs/umapfs/umap_vfsops.c b/sys/fs/umapfs/umap_vfsops.c index 0281678..bd764a8 100644 --- a/sys/fs/umapfs/umap_vfsops.c +++ b/sys/fs/umapfs/umap_vfsops.c @@ -35,7 +35,7 @@ * * @(#)umap_vfsops.c 8.8 (Berkeley) 5/14/95 * - * $Id: umap_vfsops.c,v 1.16 1997/08/16 19:15:21 wollman Exp $ + * $Id: umap_vfsops.c,v 1.17 1997/10/12 20:24:55 phk Exp $ */ /* @@ -213,6 +213,7 @@ umapfs_mount(mp, path, data, ndp, p) (void) copyinstr(args.target, mp->mnt_stat.f_mntfromname, MNAMELEN - 1, &size); bzero(mp->mnt_stat.f_mntfromname + size, MNAMELEN - size); + (void)umapfs_statfs(mp, &mp->mnt_stat, p); #ifdef UMAPFS_DIAGNOSTIC printf("umapfs_mount: lower %s, alias at %s\n", mp->mnt_stat.f_mntfromname, mp->mnt_stat.f_mntonname); |