udf: Do not mark possibly inconsistent filesystems as closed
authorJan Kara <jack@suse.cz>
Tue, 27 Feb 2018 17:55:31 +0000 (18:55 +0100)
committerJan Kara <jack@suse.cz>
Fri, 2 Mar 2018 13:22:57 +0000 (14:22 +0100)
commitb72e632c6c7e29343651b0e26539b2e01444dfe6
tree01198315b8b563c7c359aff8cbd6992fb39e96ef
parent7b1f641776e0c8b824fb10135168e4b683a9e2ba
udf: Do not mark possibly inconsistent filesystems as closed

If logical volume integrity descriptor contains non-closed integrity
type when mounting the volume, there are high chances that the volume is
not consistent (device was detached before the filesystem was
unmounted). Don't touch integrity type of such volume so that fsck can
recognize it and check such filesystem.

Reported-by: Pali Rohár <pali.rohar@gmail.com>
Reviewed-by: Pali Rohár <pali.rohar@gmail.com>
Signed-off-by: Jan Kara <jack@suse.cz>
fs/udf/super.c
fs/udf/udf_sb.h