diff options
author | Eric Sandeen <sandeen@redhat.com> | 2009-06-16 21:50:53 -0500 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2009-06-17 19:49:00 -0400 |
commit | 827c1887118eb68a64f8455d0b7cbbbed65e714a (patch) | |
tree | 37b118d39dc6d439ea900c29523ad519df31a91e /lib/ext2fs/mkjournal.c | |
parent | 125a36780626cdb0fc4d62fd529486baa8bce54c (diff) | |
download | e2fsprogs-827c1887118eb68a64f8455d0b7cbbbed65e714a.tar.gz |
libext2fs: initialize large inodes for journal & resize
I noticed that neither the journal nor resize inodes have
i_extra_isize set post-mkfs; while this isn't likely
to be a big problem, I think the below patch tidies
it up.
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'lib/ext2fs/mkjournal.c')
-rw-r--r-- | lib/ext2fs/mkjournal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ext2fs/mkjournal.c b/lib/ext2fs/mkjournal.c index f5a9dba2..412f50b0 100644 --- a/lib/ext2fs/mkjournal.c +++ b/lib/ext2fs/mkjournal.c @@ -354,7 +354,7 @@ static errcode_t write_journal_inode(ext2_filsys fs, ext2_ino_t journal_ino, inode.i_links_count = 1; inode.i_mode = LINUX_S_IFREG | 0600; - if ((retval = ext2fs_write_inode(fs, journal_ino, &inode))) + if ((retval = ext2fs_write_new_inode(fs, journal_ino, &inode))) goto errout; retval = 0; |