udf: Warn if block mapping is done for in-ICB files
authorJan Kara <jack@suse.cz>
Tue, 28 Feb 2023 11:11:38 +0000 (12:11 +0100)
committerJan Kara <jack@suse.cz>
Mon, 6 Mar 2023 15:38:25 +0000 (16:38 +0100)
commit63bceed808c5cafbac4e20b5a40012a0ec6c6529
tree093c450eee8a0fdc6deab026596bf6247914ebb8
parentcecb1f06541e12ec68805dbddb2013ee720dfe3d
udf: Warn if block mapping is done for in-ICB files

Now that address space operations are merge dfor in-ICB and normal
files, it is more likely some code mistakenly tries to map blocks for
in-ICB files. WARN and return error instead of silently returning
garbage.

Signed-off-by: Jan Kara <jack@suse.cz>
fs/udf/inode.c