udf: Try harder when looking for VAT inode
authorJan Kara <jack@suse.cz>
Mon, 30 Nov 2009 18:47:55 +0000 (19:47 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 6 Jan 2010 23:05:00 +0000 (15:05 -0800)
commit0aebc28083514af318c438fccc8a7ae23b4e1ab8
treeb1bba0b74d834565bd2a1972e567d600457468d0
parent3196f989c52765aa202a7917ca381aeafa509a83
udf: Try harder when looking for VAT inode

commit e971b0b9e0dd50d9ceecb67a6a6ab80a80906033 upstream.

Some disks do not contain VAT inode in the last recorded block as required
by the standard but a few blocks earlier (or the number of recorded blocks
is wrong). So look for the VAT inode a bit before the end of the media.

Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/udf/super.c