git.ucc.asn.au
/
tpg
/
acess2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Modules/{ATA,LVM} - Moved ATA to use the LVM partition code
[tpg/acess2.git]
/
KernelLand
/
Modules
/
Storage
/
LVM
/
lvm_int.h
diff --git
a/KernelLand/Modules/Storage/LVM/lvm_int.h
b/KernelLand/Modules/Storage/LVM/lvm_int.h
index
7f528d9
..
bd07701
100644
(file)
--- a/
KernelLand/Modules/Storage/LVM/lvm_int.h
+++ b/
KernelLand/Modules/Storage/LVM/lvm_int.h
@@
-8,19
+8,29
@@
#ifndef _LVM_LVM_INT_H_
#define _LVM_LVM_INT_H_
#ifndef _LVM_LVM_INT_H_
#define _LVM_LVM_INT_H_
+#include "include/lvm.h"
#include "lvm.h"
#include <vfs.h>
typedef struct sLVM_SubVolume tLVM_SubVolume;
#include "lvm.h"
#include <vfs.h>
typedef struct sLVM_SubVolume tLVM_SubVolume;
+enum eLVM_BackType
+{
+ LVM_BACKING_VFS,
+ LVM_BACKING_PTRS
+};
+
struct sLVM_Vol
{
tLVM_Vol *Next;
struct sLVM_Vol
{
tLVM_Vol *Next;
- tVFS_Node Node;
-
- int BackingDescriptor;
- size_t BlockSize;
+ tVFS_Node DirNode;
+ tVFS_Node VolNode;
+
+ void *Ptr;
+ const tLVM_VolType *Type;
+
+ Uint64 BlockCount;
int nSubVolumes;
tLVM_SubVolume **SubVolumes;
int nSubVolumes;
tLVM_SubVolume **SubVolumes;
@@
-42,6
+52,10
@@
struct sLVM_SubVolume
};
extern tVFS_NodeType gLVM_SubVolNodeType;
};
extern tVFS_NodeType gLVM_SubVolNodeType;
+extern tVFS_NodeType gLVM_VolNodeType;
+
+extern tLVM_Vol *gpLVM_FirstVolume;
+extern tLVM_Vol *gpLVM_LastVolume;
#endif
#endif
UCC
git Repository :: git.ucc.asn.au