]> git.baikalelectronics.ru Git - kernel.git/commit
udf: Fix loading of VAT inode when drive wrongly reports number of recorded blocks
authorJan Kara <jack@suse.cz>
Tue, 14 Jul 2009 17:30:23 +0000 (19:30 +0200)
committerJan Kara <jack@suse.cz>
Thu, 30 Jul 2009 15:28:26 +0000 (17:28 +0200)
commit2da2a1d31996b7d78cb9ebad807b7f1d07caaa85
tree9d7218df82274d1dd564f3ba06ca8c65a99234c1
parenta9a118886fe4f7cd0e2320c649c428a8edea4a56
udf: Fix loading of VAT inode when drive wrongly reports number of recorded blocks

VAT inode is located in the last block recorded block of the medium. When the
drive errorneously reports number of recorded blocks, we failed to load the VAT
inode and thus mount the medium. This patch makes kernel try to read VAT inode
from the last block of the device if it is different from the last recorded
block.

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