linux/fs/udf
Jan Kara 423cf6dc04 udf: Cleanup anchor block detection.
UDF anchor block detection is complicated by several things - there are several
places where the anchor point can be, some of them relative to the last
recorded block which some devices report wrongly. Moreover some devices on some
media seem to have 7 spare blocks sectors for every 32 blocks (at least as far
as I understand the old code) so we have to count also with that possibility.

This patch splits anchor block detection into several functions so that it is
clearer what we actually try to do. We fix several bugs of the type "for such
and such media, we fail to check block blah" as a result of the cleanup.

Signed-off-by: Jan Kara <jack@suse.cz>
2008-04-17 14:23:10 +02:00
..
balloc.c udf: replace all adds to little endians variables with le*_add_cpu 2008-04-17 14:22:28 +02:00
crc.c udf: constify crc 2008-04-17 14:22:24 +02:00
dir.c udf: Remove declarations of arrays of size UDF_NAME_LEN (256 bytes) 2008-04-17 14:23:04 +02:00
directory.c udf: cleanup directory offset handling 2008-02-08 09:22:36 -08:00
ecma_167.h udf: remove unneeded kernel_timestamp type 2008-04-17 14:22:42 +02:00
file.c udf: move headers out include/linux/ 2008-04-17 14:22:23 +02:00
fsync.c UDF: coding style conversion - lindent fixups 2007-07-21 17:49:14 -07:00
ialloc.c udf: replace all adds to little endians variables with le*_add_cpu 2008-04-17 14:22:28 +02:00
inode.c udf: convert udf_stamp_to_time and udf_time_to_stamp to use timestamps 2008-04-17 14:22:29 +02:00
lowlevel.c udf: move headers out include/linux/ 2008-04-17 14:22:23 +02:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
misc.c udf: move headers out include/linux/ 2008-04-17 14:22:23 +02:00
namei.c udf: Remove declarations of arrays of size UDF_NAME_LEN (256 bytes) 2008-04-17 14:23:04 +02:00
osta_udf.h UDF: coding style conversion - lindent fixups 2007-07-21 17:49:14 -07:00
partition.c udf: move headers out include/linux/ 2008-04-17 14:22:23 +02:00
super.c udf: Cleanup anchor block detection. 2008-04-17 14:23:10 +02:00
symlink.c udf: move headers out include/linux/ 2008-04-17 14:22:23 +02:00
truncate.c udf: truncate: create function for updating of Allocation Ext Descriptor 2008-04-17 14:22:28 +02:00
udf_i.h udf: replace udf_*_offset macros with functions 2008-04-17 14:22:29 +02:00
udf_sb.h udf: Cleanup anchor block detection. 2008-04-17 14:23:10 +02:00
udfdecl.h udf: convert udf_stamp_to_time and udf_time_to_stamp to use timestamps 2008-04-17 14:22:29 +02:00
udfend.h udf: remove unneeded kernel_timestamp type 2008-04-17 14:22:42 +02:00
udftime.c udf: convert udf_stamp_to_time and udf_time_to_stamp to use timestamps 2008-04-17 14:22:29 +02:00
unicode.c udf: udf_CS0toNLS cleanup 2008-04-17 14:22:24 +02:00