Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/chs-ubc2]: src/sys/nfs initialize new struct mount fields in nfs_mountfs().



details:   https://anonhg.NetBSD.org/src/rev/268cdc7c63ff
branches:  chs-ubc2
changeset: 471365:268cdc7c63ff
user:      chs <chs%NetBSD.org@localhost>
date:      Sun Jul 04 01:46:31 1999 +0000

description:
initialize new struct mount fields in nfs_mountfs().

diffstat:

 sys/nfs/nfs_vfsops.c |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r d5e951defd3a -r 268cdc7c63ff sys/nfs/nfs_vfsops.c
--- a/sys/nfs/nfs_vfsops.c      Sun Jul 04 01:45:35 1999 +0000
+++ b/sys/nfs/nfs_vfsops.c      Sun Jul 04 01:46:31 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: nfs_vfsops.c,v 1.83 1999/03/06 05:34:41 fair Exp $     */
+/*     $NetBSD: nfs_vfsops.c,v 1.83.4.1 1999/07/04 01:46:31 chs Exp $  */
 
 /*
  * Copyright (c) 1989, 1993, 1995
@@ -661,6 +661,8 @@
 #else
        mp->mnt_stat.f_type = 0;
 #endif
+       mp->mnt_fs_bshift = DEV_BSHIFT;
+       mp->mnt_dev_bshift = -1;
        strncpy(&mp->mnt_stat.f_fstypename[0], mp->mnt_op->vfs_name,
            MFSNAMELEN);
        memcpy(mp->mnt_stat.f_mntfromname, hst, MNAMELEN);



Home | Main Index | Thread Index | Old Index