diff options
| author | Ian Moffett <ian@osmora.org> | 2025-11-22 17:42:50 -0500 |
|---|---|---|
| committer | Ian Moffett <ian@osmora.org> | 2025-11-22 17:42:50 -0500 |
| commit | a3ca97d24953f7d72dc26d0627d03b673335acee (patch) | |
| tree | c3eabc08148aa8f8f86f9d3ceb3d5172e579321c /sys/inc/kern | |
| parent | bcc09c2031f35ec4c6e03e02818071e782db6ed1 (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.h | 2 |
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() */ |
