diff options
author | Steven J. Magnani <steve.magnani@digidescorp.com> | 2019-07-11 16:38:52 +0300 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2019-07-31 13:04:42 +0300 |
commit | 6fbacb8539a6659d446a9efabb538cfc007c1427 (patch) | |
tree | 5f9649197f4f6df4c766a0a629e11dafc16f5843 /fs/ext2/xattr.c | |
parent | ba54aef0313322d9eea0fca648170d5a3c906de4 (diff) | |
download | linux-6fbacb8539a6659d446a9efabb538cfc007c1427.tar.xz |
udf: support 2048-byte spacing of VRS descriptors on 4K media
Some UDF creators (specifically Microsoft, but perhaps others) mishandle
the ECMA-167 corner case that requires descriptors within a Volume
Recognition Sequence to be placed at 4096-byte intervals on media where
the block size is 4K. Instead, the descriptors are placed at the 2048-
byte interval mandated for media with smaller blocks. This nonconformity
currently prevents Linux from recognizing the filesystem as UDF.
Modify the driver to tolerate a misformatted VRS on 4K media.
[JK: Simplified descriptor checking]
Signed-off-by: Steven J. Magnani <steve@digidescorp.com>
Tested-by: Steven J. Magnani <steve@digidescorp.com>
Link: https://lore.kernel.org/r/20190711133852.16887-2-steve@digidescorp.com
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/ext2/xattr.c')
0 files changed, 0 insertions, 0 deletions