Whamcloud - gitweb
ChangeLog, ext2fs.h:
authorTheodore Ts'o <tytso@mit.edu>
Tue, 4 Jul 2000 19:41:29 +0000 (19:41 +0000)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 4 Jul 2000 19:41:29 +0000 (19:41 +0000)
  ext2fs.h: Update to include latest journalling additions to the superblock.
.del-ext2_fs.h~7a460879, ChangeLog:
  ext2_fs.h: Update to include latest journalling additions to the
  superblock.

include/linux/ChangeLog
include/linux/ext2_fs.h
lib/ext2fs/ChangeLog
lib/ext2fs/ext2fs.h

index 8534015..80de664 100644 (file)
@@ -1,3 +1,8 @@
+2000-07-04  Theodore Ts'o  <tytso@valinux.com>
+
+       * ext2_fs.h: Update to include latest journalling additions to the
+               superblock.
+
 2000-04-03  Theodore Ts'o  <tytso@valinux.com>
 
        * ext2_fs.h (EXT2_NOCOMPR_FL): Rename EXT2_NOCOMP_FL to
index aa0f188..9f89ca1 100644 (file)
@@ -375,12 +375,20 @@ struct ext2_super_block {
        __u32   s_algorithm_usage_bitmap; /* For compression */
        /*
         * Performance hints.  Directory preallocation should only
-        * happen if the EXT2_COMPAT_PREALLOC flag is on.
+        * happen if the EXT2_FEATURE_COMPAT_DIR_PREALLOC flag is on.
         */
        __u8    s_prealloc_blocks;      /* Nr of blocks to try to preallocate*/
        __u8    s_prealloc_dir_blocks;  /* Nr to preallocate for dirs */
        __u16   s_padding1;
-       __u32   s_reserved[204];        /* Padding to the end of the block */
+       /* 
+        * Journaling support.
+        */
+       __u8    s_journal_uuid[16];     /* uuid of journal superblock */
+       __u32   s_journal_inum;         /* inode number of journal file */
+       __u32   s_journal_dev;          /* device number of journal file */
+       __u32   s_last_orphan;          /* start of list of inodes to delete */
+       
+       __u32   s_reserved[197];        /* Padding to the end of the block */
 };
 
 #ifdef __KERNEL__
index af3df72..0817d54 100644 (file)
@@ -1,5 +1,8 @@
 2000-07-04  Theodore Ts'o  <tytso@valinux.com>
 
+       * ext2fs.h: Update to include latest journalling additions to the
+               superblock.
+
        * dll/jump.funcs: Add new jumptable entries for
                ext2fs_write_bb_FILE, ext2fs_read_bb_FILE2, and
                ext2fs_badblocks_equal.
index 4b1fe6c..b8dbd4d 100644 (file)
@@ -430,7 +430,7 @@ struct ext2fs_sb {
        __u32   s_algorithm_usage_bitmap; /* For compression */
        /*
         * Performance hints.  Directory preallocation should only
-        * happen if the EXT2_COMPAT_PREALLOC flag is on.
+        * happen if the EXT2_FEATURE_COMPAT_DIR_PREALLOC flag is on.
         */
        __u8    s_prealloc_blocks;      /* Nr of blocks to try to preallocate*/
        __u8    s_prealloc_dir_blocks;  /* Nr to preallocate for dirs */
@@ -440,8 +440,10 @@ struct ext2fs_sb {
         */
        __u8    s_journal_uuid[16];     /* uuid of journal superblock */
        __u32   s_journal_inum;         /* inode number of journal file */
+       __u32   s_journal_dev;          /* device number of journal file */
+       __u32   s_last_orphan;          /* start of list of inodes to delete */
        
-       __u32   s_reserved[199];        /* Padding to the end of the block */
+       __u32   s_reserved[197];        /* Padding to the end of the block */
 };
 
 #define EXT2FS_COMPRESSED_BLKADDR ((blk_t) 0xffffffff)