Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F109290856
D21630.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
902 B
Referenced Files
None
Subscribers
None
D21630.diff
View Options
Index: head/sys/fs/fuse/fuse_node.h
===================================================================
--- head/sys/fs/fuse/fuse_node.h
+++ head/sys/fs/fuse/fuse_node.h
@@ -174,6 +174,8 @@
MPASS(dvp->v_type == VDIR);
VTOFUD(vp)->parent_nid = VTOI(dvp);
VTOFUD(vp)->flag |= FN_PARENT_NID;
+ } else {
+ VTOFUD(vp)->flag &= ~FN_PARENT_NID;
}
}
Index: head/sys/fs/fuse/fuse_vnops.c
===================================================================
--- head/sys/fs/fuse/fuse_vnops.c
+++ head/sys/fs/fuse/fuse_vnops.c
@@ -1525,11 +1525,10 @@
fuse_filehandle_close(vp, fufh, td, NULL);
}
- if ((!fuse_isdeadfs(vp)) && (fvdat->nlookup)) {
+ if (!fuse_isdeadfs(vp) && fvdat->nlookup > 0) {
fuse_internal_forget_send(vnode_mount(vp), td, NULL, VTOI(vp),
fvdat->nlookup);
}
- fuse_vnode_setparent(vp, NULL);
cache_purge(vp);
vfs_hash_remove(vp);
fuse_vnode_destroy(vp);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Feb 4, 3:36 AM (20 h, 37 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16447391
Default Alt Text
D21630.diff (902 B)
Attached To
Mode
D21630: fusefs: fix some minor issues with fuse_vnode_setparent
Attached
Detach File
Event Timeline
Log In to Comment