udf: Improve anchor block detection
authorJan Kara <jack@suse.cz>
Mon, 7 Apr 2008 14:15:04 +0000 (16:15 +0200)
committerJan Kara <jack@suse.cz>
Thu, 17 Apr 2008 12:23:13 +0000 (14:23 +0200)
commit5fb28aa25ab0b71af2e441d68e63ad257e610a04
treee0cba62535022802a4b47e5d04d49e2cc9f93ced
parent423cf6dc04eb79d441bfda2b127bc4b57134b41d
udf: Improve anchor block detection

Add <last block>+1 and <last block>-1 to a list of blocks which can be the
real last recorded block on a UDF media. Sebastian Manciulea
<manciuleas@yahoo.com> claims this helps some drive + media combinations
he is able to test.

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