From 45547c3a0056ab5732c4ea1e01deee10749ecbcb Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Fri, 15 Mar 2024 12:06:40 -0400 Subject: kernel: vfs: Add fs capabilties Signed-off-by: Ian Moffett --- sys/include/sys/mount.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'sys/include') diff --git a/sys/include/sys/mount.h b/sys/include/sys/mount.h index 3ac7ec7..209fa3e 100644 --- a/sys/include/sys/mount.h +++ b/sys/include/sys/mount.h @@ -33,6 +33,7 @@ #include #include #include +#include #define FS_NAME_MAX 16 /* Max length of FS type name including nul */ @@ -54,8 +55,14 @@ struct fs_info { char name[FS_NAME_MAX]; /* Filesystem type name */ struct vfsops *vfsops; /* Filesystem operations */ struct mount *mp_root; + uint16_t caps; }; +/* + * Filesystem capabilities + */ +#define FSCAP_FULLPATH __BIT(0) /* Requires full path per lookup */ + /* * Mount flags */ -- cgit v1.2.3