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
..
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 udf: Apply uid/gid mount options also to new inodes & chown 2018-02-27 10:25:33 +01:00
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
Kconfig udf: Always require NLS support 2018-04-19 16:00:48 +02:00
lowlevel.c
Makefile
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 License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
udftime.c udf: convert inode stamps to timespec64 2018-06-27 13:58:00 +02:00
unicode.c udf: Add support for decoding UTF-16 characters 2018-04-19 16:00:48 +02:00