summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/linux/efs_fs.h2
-rw-r--r--include/linux/efs_fs_i.h13
2 files changed, 10 insertions, 5 deletions
diff --git a/include/linux/efs_fs.h b/include/linux/efs_fs.h
index c9c30e290..b5e4d8804 100644
--- a/include/linux/efs_fs.h
+++ b/include/linux/efs_fs.h
@@ -9,7 +9,7 @@
#ifndef __EFS_FS_H__
#define __EFS_FS_H__
-#define EFS_VERSION "0.97e"
+#define EFS_VERSION "0.98b"
static const char cprt[] = "EFS: "EFS_VERSION" - (c) 1999 Al Smith <Al.Smith@aeschi.ch.eu.org>";
diff --git a/include/linux/efs_fs_i.h b/include/linux/efs_fs_i.h
index 60e21fc6f..de55021ad 100644
--- a/include/linux/efs_fs_i.h
+++ b/include/linux/efs_fs_i.h
@@ -15,18 +15,23 @@ typedef uint32_t efs_ino_t;
#define EFS_DIRECTEXTENTS 12
/*
- * layout of an extent, in memory and on disk. 8 bytes exactly
+ * layout of an extent, in memory and on disk. 8 bytes exactly.
*/
typedef union extent_u {
+ unsigned char raw[8];
struct extent_s {
unsigned int ex_magic:8; /* magic # (zero) */
unsigned int ex_bn:24; /* basic block */
unsigned int ex_length:8; /* numblocks in this extent */
unsigned int ex_offset:24; /* logical offset into file */
} cooked;
- unsigned char raw[8];
} efs_extent;
+typedef struct edevs {
+ short odev;
+ unsigned int ndev;
+} efs_devs;
+
/*
* extent based filesystem inode as it appears on disk. The efs inode
* is exactly 128 bytes long.
@@ -45,8 +50,8 @@ struct efs_dinode {
u_char di_version; /* version of inode */
u_char di_spare; /* spare - used by AFS */
union di_addr {
- efs_extent di_extents[EFS_DIRECTEXTENTS];
- dev_t di_dev; /* device for IFCHR/IFBLK */
+ efs_extent di_extents[EFS_DIRECTEXTENTS];
+ efs_devs di_dev; /* device for IFCHR/IFBLK */
} di_u;
};