Whamcloud - gitweb
ChangeLog, ext2_err.et.in, ext2fs.h, initialize.c, mkjournal.c, openfs.c:
authorTheodore Ts'o <tytso@mit.edu>
Tue, 16 Jan 2001 06:56:14 +0000 (06:56 +0000)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 16 Jan 2001 06:56:14 +0000 (06:56 +0000)
commita112847b39386f9e7332ba5e5a0a5e54cfe301cc
treef0d178fd16397ecece80fe79acf7b183536f2c9f
parent4ecf9d6ee41fcdaf75b31aae87a5b835f69b407f
ChangeLog, ext2_err.et.in, ext2fs.h, initialize.c, mkjournal.c, openfs.c:
  initialize.c (ext2fs_initialize): Add support for initializing the
   ext2 superblock for external journal devices.  This basically means we
   don't bother to allocate any block group descriptors.
  openfs.c (ext2fs_open): Only open external journal devices if the new
   flag EXT2_FLAG_JOURNAL_DEV_OK is passed to ext2fs_open.  When opening
   such devices, don't try to read the block group descriptors, since
   they're not there.
  ext2_err.et.in (EXT2_NO_JOURNAL_SB): Add new error code
  mkjournal.c: Export a new function,
   ext2fs_create_journal_superblock(), which allocates and returns a
   buffer containing a journal superblock.  This is needed by mke2fs to
   create an external journal.  Rewrote ext2fs_add_journal_device() so
   that it no longer creates the external journal, but rather adds a
   filesystem to an existing external journal.  It handles all of the
   UUID manipulation.
  ext2fs.h: List the EXT3_FEATURE_JOURNAL_DEV as a flag supported by the
   library.  Define the EXT2_FLAG_JOURNAL_DEV_OK.  Changed function
   prototype for ext2fs_add_journal_device().
lib/ext2fs/ChangeLog
lib/ext2fs/ext2_err.et.in
lib/ext2fs/ext2fs.h
lib/ext2fs/initialize.c
lib/ext2fs/mkjournal.c
lib/ext2fs/openfs.c