diff options
author | Julian Elischer <julian@FreeBSD.org> | 2001-09-12 08:38:13 +0000 |
---|---|---|
committer | Julian Elischer <julian@FreeBSD.org> | 2001-09-12 08:38:13 +0000 |
commit | b40ce4165d5eb3a5de1515245055350ae3dbab8e (patch) | |
tree | b1a19fcdf05759281fab0d89efb13f0fdf42102e /sys/fs/umapfs/umap_subr.c | |
parent | 9b36a30ee46a7766f269fe832ef3a2daa2ec04f0 (diff) |
Notes
Diffstat (limited to 'sys/fs/umapfs/umap_subr.c')
-rw-r--r-- | sys/fs/umapfs/umap_subr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/fs/umapfs/umap_subr.c b/sys/fs/umapfs/umap_subr.c index afcaceb76867c..c61fe7ca14981 100644 --- a/sys/fs/umapfs/umap_subr.c +++ b/sys/fs/umapfs/umap_subr.c @@ -141,7 +141,7 @@ umap_node_find(mp, targetvp) struct mount *mp; struct vnode *targetvp; { - struct proc *p = curproc; /* XXX */ + struct thread *td = curthread; /* XXX */ struct umap_node_hashhead *hd; struct umap_node *a; struct vnode *vp; @@ -168,7 +168,7 @@ loop: * stuff, but we don't want to lock * the lower node. */ - if (vget(vp, 0, p)) { + if (vget(vp, 0, td)) { #ifdef DEBUG printf ("umap_node_find: vget failed.\n"); #endif |