summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThordur I. Bjornsson <thib@cvs.openbsd.org>2008-07-28 13:35:15 +0000
committerThordur I. Bjornsson <thib@cvs.openbsd.org>2008-07-28 13:35:15 +0000
commit0ac471642b7ae64ef6e546fe47f0fad06519bad7 (patch)
tree7129e03bdfa59cdf3122cffeb8d4fadcc4326138
parenta6e91a1a857188b6ec1d672eeaf01ef77ca14c64 (diff)
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@
-rw-r--r--sys/nfs/nfs_vfsops.c3
1 files changed, 1 insertions, 2 deletions
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;