Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F102650603
D38486.id116933.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
797 B
Referenced Files
None
Subscribers
None
D38486.id116933.diff
View Options
diff --git a/sys/fs/tarfs/tarfs_vnops.c b/sys/fs/tarfs/tarfs_vnops.c
--- a/sys/fs/tarfs/tarfs_vnops.c
+++ b/sys/fs/tarfs/tarfs_vnops.c
@@ -165,6 +165,7 @@
static int
tarfs_lookup(struct vop_cachedlookup_args *ap)
{
+ struct tarfs_mount *tmp;
struct tarfs_node *dirnode, *parent, *tnp;
struct componentname *cnp;
struct vnode *dvp, **vpp;
@@ -180,6 +181,7 @@
*vpp = NULLVP;
dirnode = VP_TO_TARFS_NODE(dvp);
parent = dirnode->parent;
+ tmp = dirnode->tmp;
tnp = NULL;
TARFS_DPF(LOOKUP, "%s(%p=%s, %.*s)\n", __func__,
@@ -228,7 +230,7 @@
(tnp->type != VDIR && tnp->type != VLNK))
return (ENOTDIR);
- error = vn_vget_ino(dvp, tnp->ino, cnp->cn_lkflags, vpp);
+ error = VFS_VGET(tmp->vfs, tnp->ino, cnp->cn_lkflags, vpp);
if (error != 0)
return (error);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 16, 8:37 AM (11 h, 53 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14656021
Default Alt Text
D38486.id116933.diff (797 B)
Attached To
Mode
D38486: tarfs: Fix deadlock between descent and ascent in tarfs_lookup().
Attached
Detach File
Event Timeline
Log In to Comment