Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F147670590
D40494.1784031913.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
500 B
Referenced Files
None
Subscribers
None
D40494.1784031913.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, Jul 14, 12:25 PM (7 m, 16 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29125881
Default Alt Text
D40494.1784031913.diff (500 B)
Attached To
Mode
D40494: namei: Add a comment explaining ISRESTARTED flag
Attached
Detach File
Event Timeline
Log In to Comment