+2007-04-19 Theodore Tso <tytso@mit.edu>
+
+ * set_fields.c: Add the i_version field to the set_inode_field
+ command.
+
2007-04-13 Theodore Tso <tytso@mit.edu>
* set_fields.c (do_set_block_group_descriptor), debug_cmds.ct,
{ "links_count", &set_inode.i_links_count, 2, parse_uint },
{ "blocks", &set_inode.i_blocks, 4, parse_uint },
{ "flags", &set_inode.i_flags, 4, parse_uint },
+ { "version", &set_inode.osd1.linux1.l_i_version, 4, parse_uint },
{ "translator", &set_inode.osd1.hurd1.h_i_translator, 4, parse_uint },
{ "block", &set_inode.i_block[0], 4, parse_uint, FLAG_ARRAY,
EXT2_NDIR_BLOCKS },
+2007-04-19 Theodore Tso <tytso@mit.edu>
+
+ * ext2_fs.h, swapfs.c (ext2fs_swap_inode_full): Rename the
+ l_i_reserved1 field to be l_i_version (to be used for the
+ high 32 bits of the 64-bit inode version number).
+
2007-04-18 Theodore Tso <tytso@mit.edu>
* getsize.c (ext2fs_get_device_size): Make sure we don't leak a
__u32 i_flags; /* File flags */
union {
struct {
- __u32 l_i_reserved1;
+ __u32 l_i_version; /* was l_i_reserved1 */
} linux1;
struct {
__u32 h_i_translator;
__u32 i_flags; /* File flags */
union {
struct {
- __u32 l_i_reserved1;
+ __u32 l_i_version; /* was l_i_reserved1 */
} linux1;
struct {
__u32 h_i_translator;
switch (fs->super->s_creator_os) {
case EXT2_OS_LINUX:
- t->osd1.linux1.l_i_reserved1 =
- ext2fs_swab32(f->osd1.linux1.l_i_reserved1);
+ t->osd1.linux1.l_i_version =
+ ext2fs_swab32(f->osd1.linux1.l_i_version);
t->osd2.linux2.l_i_blocks_hi =
ext2fs_swab16(f->osd2.linux2.l_i_blocks_hi);
t->osd2.linux2.i_pad1 = ext2fs_swab16(f->osd2.linux2.i_pad1);