From: John Hodge Date: Tue, 17 Jul 2012 05:37:39 +0000 (+0800) Subject: Kernel/vfs - Added (but haven't used) dirty node flag X-Git-Tag: rel0.15~611^2~26 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=3d86fd985109d04865582d0ae8c5440bf4c0c14b;p=tpg%2Facess2.git Kernel/vfs - Added (but haven't used) dirty node flag --- 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 /** * \} */