Added a filesystem index value for each superblock

This commit is contained in:
Bahadir Balban
2009-10-08 17:00:00 +03:00
parent 72c6ca1ed0
commit 2192b22677
8 changed files with 27 additions and 6 deletions
+1
View File
@@ -62,6 +62,7 @@ struct memfs_inode {
struct memfs_superblock {
u32 magic; /* Filesystem magic number */
char name[8];
int fsidx; /* Index that gets orred to get global vnum */
u32 blocksize; /* Filesystem block size */
u64 fmaxblocks; /* Maximum number of blocks per file */
u64 fssize; /* Total size of filesystem */