From: thib Date: Mon, 28 Jul 2008 13:35:14 +0000 (+0000) Subject: dont stuff nfs mount point flags into the statfs f_flags member, its X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=c89411faaf0a29557a98b1b57d53ebd281e5f2d4;p=openbsd dont stuff nfs mount point flags into the statfs f_flags member, its wrong. But this was harmless anyway since sys_statfs() sets this field corrently after calling VFS_STATFS(); ok pedro@, blambert@ --- diff --git a/sys/nfs/nfs_vfsops.c b/sys/nfs/nfs_vfsops.c index f2b4dfe5480..6361b90bb23 100644 --- a/sys/nfs/nfs_vfsops.c +++ b/sys/nfs/nfs_vfsops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: nfs_vfsops.c,v 1.78 2008/07/10 18:17:56 thib Exp $ */ +/* $OpenBSD: nfs_vfsops.c,v 1.79 2008/07/28 13:35:14 thib Exp $ */ /* $NetBSD: nfs_vfsops.c,v 1.46.4.1 1996/05/25 22:40:35 fvdl Exp $ */ /* @@ -141,7 +141,6 @@ nfs_statfs(mp, sbp, p) goto nfsmout; } nfsm_dissect(sfp, struct nfs_statfs *, NFSX_STATFS(v3)); - sbp->f_flags = nmp->nm_flag; sbp->f_iosize = min(nmp->nm_rsize, nmp->nm_wsize); if (v3) { sbp->f_bsize = NFS_FABLKSIZE;