udf: Drop VARCONV support
authorJan Kara <jack@suse.cz>
Wed, 18 Jan 2023 12:27:07 +0000 (13:27 +0100)
committerJan Kara <jack@suse.cz>
Thu, 26 Jan 2023 15:46:32 +0000 (16:46 +0100)
commit101ee137d32adc5b53f5c2a61fbda8f70f994845
treeb4fe1ee0f9f1418d07cb12e8de365af78fc9ae29
parentbd904f3c74969442b0ac42f81c0d02da54cd47eb
udf: Drop VARCONV support

UDF was supporting a strange mode where the media was containing 7
blocks of unknown data for every 32 blocks of the filesystem. I have yet
to see the media that would need such conversion (maybe it comes from
packet writing times) and the conversions have been inconsistent in the
code. In particular any write will write to a wrong block and corrupt
the media. This is an indication and no user actually needs this so
let's just drop the support instead of trying to fix it.

Signed-off-by: Jan Kara <jack@suse.cz>
fs/udf/balloc.c
fs/udf/directory.c
fs/udf/inode.c
fs/udf/misc.c
fs/udf/namei.c
fs/udf/super.c
fs/udf/truncate.c
fs/udf/udf_sb.h
fs/udf/udfdecl.h