diff options
author | Jan Kara <jack@suse.cz> | 2023-02-28 12:00:25 +0100 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2023-03-06 16:38:25 +0100 |
commit | cecb1f06541e12ec68805dbddb2013ee720dfe3d (patch) | |
tree | d07ffd1b3154d716b14dfe284db0f087a96d2c0f /lib/asn1_encoder.c | |
parent | 49854d3ccc55efd7e6873e0c39f360bdbe251c51 (diff) | |
download | linux-cecb1f06541e12ec68805dbddb2013ee720dfe3d.tar.gz linux-cecb1f06541e12ec68805dbddb2013ee720dfe3d.tar.bz2 linux-cecb1f06541e12ec68805dbddb2013ee720dfe3d.zip |
udf: Fix reading of in-ICB files
After merging address space operations of normal and in-ICB files,
readahead could get called for in-ICB files which resulted in
udf_get_block() being called for these files. udf_get_block() is not
prepared to be called for in-ICB files and ends up returning garbage
results as it interprets file data as extent list. Fix the problem by
skipping readahead for in-ICB files.
Fixes: 37a8a39f7ad3 ("udf: Switch to single address_space_operations")
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'lib/asn1_encoder.c')
0 files changed, 0 insertions, 0 deletions