From a3ca97d24953f7d72dc26d0627d03b673335acee Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Sat, 22 Nov 2025 17:42:50 -0500 Subject: 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 --- sys/inc/kern/namei.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sys/inc') 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 #include +#define NAMEI_PARENT BIT(0) + /* * Represents arguments to be passed with namei() */ -- cgit v1.2.3