Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F109880635
D40494.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
500 B
Referenced Files
None
Subscribers
None
D40494.diff
View Options
diff --git a/sys/kern/vfs_lookup.c b/sys/kern/vfs_lookup.c
--- a/sys/kern/vfs_lookup.c
+++ b/sys/kern/vfs_lookup.c
@@ -81,6 +81,11 @@
#define NDVALIDATE(ndp)
#endif
+/*
+ * Prepare namei() to restart. Reset components to its original state and set
+ * ISRESTARTED flag which signals the underlying lookup code to change the root
+ * from ABI root to actual root and prevents a further restarts.
+ */
#define NDRESTART(ndp) do { \
NDREINIT_DBG(ndp); \
ndp->ni_resflags = 0; \
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Feb 11, 5:08 PM (14 h, 11 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16598414
Default Alt Text
D40494.diff (500 B)
Attached To
Mode
D40494: namei: Add a comment explaining ISRESTARTED flag
Attached
Detach File
Event Timeline
Log In to Comment