summaryrefslogtreecommitdiff
path: root/sys/inc/kern
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2025-11-22 17:42:50 -0500
committerIan Moffett <ian@osmora.org>2025-11-22 17:42:50 -0500
commita3ca97d24953f7d72dc26d0627d03b673335acee (patch)
treec3eabc08148aa8f8f86f9d3ceb3d5172e579321c /sys/inc/kern
parentbcc09c2031f35ec4c6e03e02818071e782db6ed1 (diff)
kern: vfs: Add NAMEI_PARENT flag to NAMEI
This flag allows one to get the vnode of the parent component rather than the last Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/inc/kern')
-rw-r--r--sys/inc/kern/namei.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/inc/kern/namei.h b/sys/inc/kern/namei.h
index a9fba7f..5dbf5ad 100644
--- a/sys/inc/kern/namei.h
+++ b/sys/inc/kern/namei.h
@@ -33,6 +33,8 @@
#include <sys/types.h>
#include <sys/param.h>
+#define NAMEI_PARENT BIT(0)
+
/*
* Represents arguments to be passed with namei()
*/