Whamcloud - gitweb
[COVERITY] Fix dead code bug in mke2fs
authorBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 19 Mar 2007 12:25:38 +0000 (08:25 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 19 Mar 2007 12:25:38 +0000 (08:25 -0400)
commite066150a7034d39aaa8a65a280911e2ef8b3d48c
treefab6785144d41357c322030c0c6b39011131d45b
parentd90be5b1437b839e5f1afcee7073798d833e4534
[COVERITY] Fix dead code bug in mke2fs

If the fs_type is not specified and we are creating a journal device, to
use a fs_type of "journal"; this used to be the behavior before we added
support for the /etc/mke2fs.conf file, so let's fix it to restore the
old behavior.

Coverity ID: 4: Deadcode

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
misc/ChangeLog
misc/mke2fs.c