Whamcloud - gitweb
e2fsck: fix logic for deciding when to repair legacy timestamp encodings
authorTheodore Ts'o <tytso@mit.edu>
Thu, 1 Sep 2016 04:13:38 +0000 (00:13 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 1 Sep 2016 05:01:54 +0000 (01:01 -0400)
commit35a4e1b1c5cbb493842be6f901b155a9b4489b12
treed17b5b38ff8ce499b1dbd1703ee49f86fe96c956
parentabae02902409363ebf42b955e3194d6c68593046
e2fsck: fix logic for deciding when to repair legacy timestamp encodings

A static code checker noticed that we had a redundant condition:

    if (((sizeof(time_t) <= 4) ||
         ((sizeof(time_t) > 4) &&

which was caused by the parenthesis were in the wrong place.

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
e2fsck/pass1.c