Whamcloud - gitweb
e4defrag: fix GCC7.x compiler warning
authorMarc Thomas <marc@dragonfly.plus.com>
Mon, 26 Jun 2017 15:40:39 +0000 (16:40 +0100)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 28 Jun 2017 17:29:01 +0000 (13:29 -0400)
commit298ffa7ee9949ee8c3a548256835dc7cf005f441
treef4d01dae3ee454dec1e5dd800b904641f362d85a
parent7bfa94ad13ec06d60868e675e9009633fe75ec46
e4defrag: fix GCC7.x compiler warning

../../misc/e4defrag.c:1821:8: warning: statement will never be executed
[-Wswitch-unreachable]
    int mount_dir_len = 0;

Also fix a typo in a few comments.

Signed-off-by: Marc Thomas <marc@dragonfly.plus.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
misc/e4defrag.c