From 3d86fd985109d04865582d0ae8c5440bf4c0c14b Mon Sep 17 00:00:00 2001 From: John Hodge Date: Tue, 17 Jul 2012 13:37:39 +0800 Subject: [PATCH] Kernel/vfs - Added (but haven't used) dirty node flag --- KernelLand/Kernel/include/vfs.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/KernelLand/Kernel/include/vfs.h b/KernelLand/Kernel/include/vfs.h index 9cb9e5de..6afe309a 100644 --- a/KernelLand/Kernel/include/vfs.h +++ b/KernelLand/Kernel/include/vfs.h @@ -77,7 +77,15 @@ typedef struct sVFS_NodeType tVFS_NodeType; * is unmapped. Nice for read-only files and memory-only files (or * pseudo-readonly filesystems) */ -#define VFS_FFLAG_NOWRITEBACK +#define VFS_FFLAG_NOWRITEBACK 0x1000 + +/** + * \brief "Dirty Metadata" Flag + * + * Indicates that the node's metadata has been altered since the flag was last + * cleared. Tells the driver that it should update the inode at the next flush. + */ +#define VFS_FFLAG_DIRTY 0x8000 /** * \} */ -- 2.20.1