summaryrefslogtreecommitdiff
path: root/sys/ntfs/ntfs_vfsops.c
diff options
context:
space:
mode:
authorcheloha <cheloha@cvs.openbsd.org>2019-07-25 01:43:22 +0000
committercheloha <cheloha@cvs.openbsd.org>2019-07-25 01:43:22 +0000
commit37b15b96955574c7a825d41f58098bf4fbe7cfca (patch)
tree4044c030b881ba95263760980ba414d81257eeaa /sys/ntfs/ntfs_vfsops.c
parent7f0b919905c40b2c80fb67a3e32502cd7e766a26 (diff)
vinvalbuf(9): tlseep -> tsleep_nsec(9); ok millert@
Diffstat (limited to 'sys/ntfs/ntfs_vfsops.c')
-rw-r--r--sys/ntfs/ntfs_vfsops.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/ntfs/ntfs_vfsops.c b/sys/ntfs/ntfs_vfsops.c
index 2a08b935598..c734e3d6fca 100644
--- a/sys/ntfs/ntfs_vfsops.c
+++ b/sys/ntfs/ntfs_vfsops.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ntfs_vfsops.c,v 1.61 2018/05/27 06:02:15 visa Exp $ */
+/* $OpenBSD: ntfs_vfsops.c,v 1.62 2019/07/25 01:43:21 cheloha Exp $ */
/* $NetBSD: ntfs_vfsops.c,v 1.7 2003/04/24 07:50:19 christos Exp $ */
/*-
@@ -279,7 +279,7 @@ ntfs_mountfs(struct vnode *devvp, struct mount *mp, struct ntfs_args *argsp,
if (ncount > 1 && devvp != rootvp)
return (EBUSY);
vn_lock(devvp, LK_EXCLUSIVE | LK_RETRY);
- error = vinvalbuf(devvp, V_SAVE, p->p_ucred, p, 0, 0);
+ error = vinvalbuf(devvp, V_SAVE, p->p_ucred, p, 0, INFSLP);
VOP_UNLOCK(devvp);
if (error)
return (error);
@@ -503,7 +503,7 @@ ntfs_unmount(struct mount *mp, int mntflags, struct proc *p)
/* lock the device vnode before calling VOP_CLOSE() */
vn_lock(ntmp->ntm_devvp, LK_EXCLUSIVE | LK_RETRY);
- vinvalbuf(ntmp->ntm_devvp, V_SAVE, NOCRED, p, 0, 0);
+ vinvalbuf(ntmp->ntm_devvp, V_SAVE, NOCRED, p, 0, INFSLP);
(void)VOP_CLOSE(ntmp->ntm_devvp, FREAD, NOCRED, p);
vput(ntmp->ntm_devvp);