From a6baba06d1cf1f5e56ba23805d837db4b42c35da Mon Sep 17 00:00:00 2001 From: jeff Date: Wed, 27 Apr 2005 09:00:47 +0000 Subject: - Add an ISOPEN flag that filesystems can use to determine if a namei() caller will be interested in the actual data contents of a vnode after a successful lookup. This intended to help deal with lifetime issues for device cloning and to alert autofs when filesystems need to be mounted. --- sys/sys/namei.h | 1 + 1 file changed, 1 insertion(+) (limited to 'sys/sys/namei.h') diff --git a/sys/sys/namei.h b/sys/sys/namei.h index 946f4e5..9b62a3d 100644 --- a/sys/sys/namei.h +++ b/sys/sys/namei.h @@ -134,6 +134,7 @@ struct nameidata { #define DOWHITEOUT 0x0040000 /* do whiteouts */ #define WILLBEDIR 0x0080000 /* new files will be dirs; allow trailing / */ #define ISUNICODE 0x0100000 /* current component name is unicode*/ +#define ISOPEN 0x0200000 /* caller is opening; return a real vnode. */ #define NOCROSSMOUNT 0x0400000 /* do not cross mount points */ #define NOMACCHECK 0x0800000 /* do not perform MAC checks */ #define MPSAFE 0x1000000 /* namei() must acquire Giant if needed. */ -- cgit v1.1