summaryrefslogtreecommitdiff
path: root/sys/nfs/nfs_vfsops.c
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2001-12-11 09:32:47 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2001-12-11 09:32:47 +0000
commit6757c18891e29a4fcc54e5398f1ce9ee87d249ce (patch)
tree5ce358adce91ea54c30e9ee70926f47188cfaacd /sys/nfs/nfs_vfsops.c
parent5b38316b185a2555efdb96a7045f20481da7055f (diff)
minor fixes.
Diffstat (limited to 'sys/nfs/nfs_vfsops.c')
-rw-r--r--sys/nfs/nfs_vfsops.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/nfs/nfs_vfsops.c b/sys/nfs/nfs_vfsops.c
index 2efb7eacd02..069783e6bf9 100644
--- a/sys/nfs/nfs_vfsops.c
+++ b/sys/nfs/nfs_vfsops.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: nfs_vfsops.c,v 1.40 2001/12/10 02:19:34 art Exp $ */
+/* $OpenBSD: nfs_vfsops.c,v 1.41 2001/12/11 09:32:46 art Exp $ */
/* $NetBSD: nfs_vfsops.c,v 1.46.4.1 1996/05/25 22:40:35 fvdl Exp $ */
/*
@@ -749,7 +749,7 @@ mountnfs(argp, mp, nam, pth, hst)
*/
mp->mnt_stat.f_iosize = NFS_MAXDGRAMDATA;
mp->mnt_fs_bshift = DEV_BSHIFT;
- mp->mnt_dev_bshift = -1;
+ mp->mnt_dev_bshift = DEV_BSHIFT;
return (0);
bad:
@@ -858,7 +858,7 @@ loop:
*/
if (vp->v_mount != mp)
goto loop;
- if (waitfor == MNT_LAZY || VOP_ISLOCKED(vp) ||
+ if (waitfor == MNT_LAZY ||
(LIST_EMPTY(&vp->v_dirtyblkhd) &&
vp->v_uobj.uo_npages == 0))
continue;