diff options
author | bde <bde@FreeBSD.org> | 2000-01-01 17:39:21 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 2000-01-01 17:39:21 +0000 |
commit | 9ab4cfc599f2bb01d344682400024b046db1c524 (patch) | |
tree | f0efe8d8722caa0e2c0a390b9d751334c5cefcf7 /sys/gnu/fs/ext2fs/ext2_inode_cnv.c | |
parent | 282de400522186b04c1532b83af0b4e3c6465c8c (diff) | |
download | FreeBSD-src-9ab4cfc599f2bb01d344682400024b046db1c524.zip FreeBSD-src-9ab4cfc599f2bb01d344682400024b046db1c524.tar.gz |
Merged changes in ext2_fs.h between Linux 1.2.2 and Linux 2.3.35. The
main changes are:
- many things are more dynamic; e.g., the inode size is a new parameter
in the superblock instead of a constant.
- extensions are controlled by new flags in the superblock.
- directory entries may have a file type field.
These changes are not used yet, except for a spelling change which affects
ext2_cnv.c
Diffstat (limited to 'sys/gnu/fs/ext2fs/ext2_inode_cnv.c')
-rw-r--r-- | sys/gnu/fs/ext2fs/ext2_inode_cnv.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/gnu/fs/ext2fs/ext2_inode_cnv.c b/sys/gnu/fs/ext2fs/ext2_inode_cnv.c index ab8ceb1..3e8e0ff 100644 --- a/sys/gnu/fs/ext2fs/ext2_inode_cnv.c +++ b/sys/gnu/fs/ext2fs/ext2_inode_cnv.c @@ -112,7 +112,7 @@ ext2_ei2di(ei, di) di->di_flags |= (ei->i_flags & EXT2_APPEND_FL) ? APPEND : 0; di->di_flags |= (ei->i_flags & EXT2_IMMUTABLE_FL) ? IMMUTABLE : 0; di->di_blocks = ei->i_blocks; - di->di_gen = ei->i_version; /* XXX is that true ??? */ + di->di_gen = ei->i_generation; di->di_uid = ei->i_uid; di->di_gid = ei->i_gid; /* XXX use memcpy */ @@ -149,7 +149,7 @@ ext2_di2ei(di, ei) ei->i_flags |= (di->di_flags & IMMUTABLE) ? EXT2_IMMUTABLE_FL: 0; ei->i_blocks = di->di_blocks; - ei->i_version = di->di_gen; /* XXX is that true ??? */ + ei->i_generation = di->di_gen; ei->i_uid = di->di_uid; ei->i_gid = di->di_gid; /* XXX use memcpy */ |