proc->thread stage 4: rework the VFS and DEVICE subsystems to take thread
[dragonfly.git] / sys / vfs / ntfs / ntfs_subr.c
index 9b394f6..459edbd 100644 (file)
  * SUCH DAMAGE.
  *
  * $FreeBSD: src/sys/ntfs/ntfs_subr.c,v 1.7.2.4 2001/10/12 22:08:49 semenu Exp $
- * $DragonFly: src/sys/vfs/ntfs/ntfs_subr.c,v 1.2 2003/06/17 04:28:54 dillon Exp $
+ * $DragonFly: src/sys/vfs/ntfs/ntfs_subr.c,v 1.3 2003/06/25 03:56:07 dillon Exp $
  */
 
 #include <sys/param.h>
 #include <sys/types.h>
 #include <sys/systm.h>
-#include <sys/namei.h>
 #include <sys/proc.h>
+#include <sys/namei.h>
 #include <sys/kernel.h>
 #include <sys/vnode.h>
 #include <sys/mount.h>
@@ -228,7 +228,7 @@ ntfs_ntvattrget(
                   vget() */
                error = ntfs_vgetex(ntmp->ntm_mountp, aalp->al_inumber,
                                NTFS_A_DATA, NULL, LK_EXCLUSIVE,
-                               VG_EXT, curproc, &newvp);
+                               VG_EXT, curthread, &newvp);
                if (error) {
                        printf("ntfs_ntvattrget: CAN'T VGET INO: %d\n",
                               aalp->al_inumber);
@@ -959,7 +959,7 @@ ntfs_ntlookupfile(
                        error = ntfs_vgetex(ntmp->ntm_mountp,
                                   iep->ie_number, attrtype, attrname,
                                   LK_EXCLUSIVE, VG_DONTLOADIN | VG_DONTVALIDFN,
-                                  curproc, &nvp);
+                                  curthread, &nvp);
 
                        /* free the buffer returned by ntfs_ntlookupattr() */
                        if (attrname) {