summaryrefslogtreecommitdiffstats
path: root/sys/nfs/nfs_vfsops.c
diff options
context:
space:
mode:
authorthib <thib@openbsd.org>2008-07-28 13:35:14 +0000
committerthib <thib@openbsd.org>2008-07-28 13:35:14 +0000
commitc89411faaf0a29557a98b1b57d53ebd281e5f2d4 (patch)
tree256922dacb5324e357423b506c74ab5e9ae870b6 /sys/nfs/nfs_vfsops.c
parentFix the tracking of RTF_MPATH. Until now the magic happend on the first route (diff)
downloadwireguard-openbsd-c89411faaf0a29557a98b1b57d53ebd281e5f2d4.tar.xz
wireguard-openbsd-c89411faaf0a29557a98b1b57d53ebd281e5f2d4.zip
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@
Diffstat (limited to 'sys/nfs/nfs_vfsops.c')
-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;