linux/fs/udf
Jan Kara ee4af50ca9 udf: Fix mounting of Win7 created UDF filesystems
Win7 is creating UDF filesystems with single partition with number 8192.
Current partition descriptor scanning code does not handle this well as
it incorrectly assumes that partition numbers will form mostly contiguous
space of small numbers. This results in unmountable media due to errors
like:

UDF-fs: error (device dm-1): udf_read_tagged: tag version 0x0000 != 0x0002 || 0x0003, block 0
UDF-fs: warning (device dm-1): udf_fill_super: No fileset found

Fix the problem by handling partition descriptors in a way that sparse
partition numbering does not matter.

Reported-and-tested-by: jean-luc malet <jeanluc.malet@gmail.com>
CC: stable@vger.kernel.org
Fixes: 7b78fd02fb
Signed-off-by: Jan Kara <jack@suse.cz>
2018-08-24 11:13:32 +02:00
..
Kconfig
Makefile
balloc.c udf: Drop unused arguments of udf_delete_aext() 2018-06-20 11:05:49 +02:00
dir.c
directory.c udf: Provide function for calculating dir entry length 2018-06-20 11:05:49 +02:00
ecma_167.h
file.c
ialloc.c udf: convert inode stamps to timespec64 2018-06-27 13:58:00 +02:00
inode.c udf: convert inode stamps to timespec64 2018-06-27 13:58:00 +02:00
lowlevel.c
misc.c
namei.c Merge branch 'work.mkdir' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2018-08-13 20:25:58 -07:00
osta_udf.h
partition.c
super.c udf: Fix mounting of Win7 created UDF filesystems 2018-08-24 11:13:32 +02:00
symlink.c
truncate.c
udf_i.h udf: convert inode stamps to timespec64 2018-06-27 13:58:00 +02:00
udf_sb.h udf: convert inode stamps to timespec64 2018-06-27 13:58:00 +02:00
udfdecl.h udf: convert inode stamps to timespec64 2018-06-27 13:58:00 +02:00
udfend.h
udftime.c udf: convert inode stamps to timespec64 2018-06-27 13:58:00 +02:00
unicode.c