Kernel - Moved node type to the beginning of tVFS_Node
authorJohn Hodge <[email protected]>
Wed, 20 Jun 2012 14:57:25 +0000 (22:57 +0800)
committerJohn Hodge <[email protected]>
Wed, 20 Jun 2012 14:57:25 +0000 (22:57 +0800)
KernelLand/Kernel/include/vfs.h

index b746d0e..f2bf321 100644 (file)
@@ -90,6 +90,11 @@ typedef struct sVFS_NodeType tVFS_NodeType;
  */
 typedef struct sVFS_Node
 {
+       /**
+        * \brief Functions associated with the node
+        */
+       tVFS_NodeType   *Type;
+       
        /**
         * \name Identifiers
         * \brief Fields used by the driver to identify what data this node
@@ -178,11 +183,6 @@ typedef struct sVFS_Node
        /**
         * \}
         */
-       
-       /**
-        * \brief Functions associated with the node
-        */
-       tVFS_NodeType   *Type;
 } tVFS_Node;
 
 /**

UCC git Repository :: git.ucc.asn.au