+2001-01-17 Theodore Ts'o <tytso@valinux.com>
+
+ * mkjournal.c (ext2fs_add_journal_device): Fix bug where the
+ device number of the filesystem (instead of the journal)
+ was being dropped into s_journal_dev.
+
2001-01-15 Theodore Ts'o <tytso@valinux.com>
* initialize.c (ext2fs_initialize): Add support for initializing
__u32 nr_users;
/* Make sure the device exists and is a block device */
- if (stat(fs->device_name, &st) < 0)
+ if (stat(journal_dev->device_name, &st) < 0)
return errno;
if (!S_ISBLK(st.st_mode))
+2001-01-17 Theodore Ts'o <tytso@valinux.com>
+
+ * dumpe2fs.c (print_journal_information): Use s_first_data_block
+ to find the correct block to read the journal superblock.
+
2001-01-15 Theodore Ts'o <tytso@valinux.com>
* tune2fs.c: Changed the external journal code so that it simply
journal_superblock_t *jsb;
/* Get the journal superblock */
- if ((retval = io_channel_read_blk(fs->io, 1, -1024, buf))) {
+ if ((retval = io_channel_read_blk(fs->io, fs->super->s_first_data_block+1, -1024, buf))) {
com_err(program_name, retval,
_("while reading journal superblock"));
exit(1);