]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs_repair: exit with status 2 if log dirtiness is unknown
authorEric Sandeen <sandeen@redhat.com>
Mon, 19 Sep 2016 06:01:14 +0000 (16:01 +1000)
committerDave Chinner <david@fromorbit.com>
Mon, 19 Sep 2016 06:01:14 +0000 (16:01 +1000)
commitb04647edea32dbbce0fc12ea6f54a8da706a2265
tree1079e42c666b92779093709803910352a8338adc
parent4fd2b07598d92f1677345b8372a79ac5ab31838c
xfs_repair: exit with status 2 if log dirtiness is unknown

This new case is mostly like the known dirty log case; the log
is corrupt, dirtiness cannot be determined, and a mount/umount
cycle or an xfs_repair -L is required.

So exit with status 2 here as well.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Zorro Lang <zlang@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
repair/phase2.c