summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJasper Lievisse Adriaanse <jasper@cvs.openbsd.org>2009-06-02 20:48:49 +0000
committerJasper Lievisse Adriaanse <jasper@cvs.openbsd.org>2009-06-02 20:48:49 +0000
commit8f00f8897b52fb0770ed71d89b37c9d663a86938 (patch)
tree55df8127cc420eaa06c903f3eaf16db3192d8989 /sys
parent5ef193ab8a4c784fa923f8aa7c2c45fccc57612c (diff)
- make sure biodone() gets run at IPL_BIO
OK thib@
Diffstat (limited to 'sys')
-rw-r--r--sys/ntfs/ntfs_vnops.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/ntfs/ntfs_vnops.c b/sys/ntfs/ntfs_vnops.c
index cb4daf0be58..f6c2c007873 100644
--- a/sys/ntfs/ntfs_vnops.c
+++ b/sys/ntfs/ntfs_vnops.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ntfs_vnops.c,v 1.13 2008/05/13 02:24:08 brad Exp $ */
+/* $OpenBSD: ntfs_vnops.c,v 1.14 2009/06/02 20:48:48 jasper Exp $ */
/* $NetBSD: ntfs_vnops.c,v 1.6 2003/04/10 21:57:26 jdolecek Exp $ */
/*
@@ -320,7 +320,7 @@ ntfs_strategy(ap)
struct fnode *fp = VTOF(vp);
struct ntnode *ip = FTONT(fp);
struct ntfsmount *ntmp = ip->i_mp;
- int error;
+ int error, s;
#ifdef __FreeBSD__
dprintf(("ntfs_strategy: offset: %d, blkno: %d, lblkno: %d\n",
@@ -384,7 +384,9 @@ ntfs_strategy(ap)
}
}
}
+ s = splbio();
biodone(bp);
+ splx(s);
return (error);
}