]> err.no Git - linux-2.6/commit
udf: Fix regression in UDF anchor block detection
authorTomas Janousek <tomi@nomi.cz>
Mon, 23 Jun 2008 13:12:35 +0000 (15:12 +0200)
committerJan Kara <jack@suse.cz>
Tue, 24 Jun 2008 09:38:03 +0000 (11:38 +0200)
commite8183c2452041326c95258ecc7865b6fcd91c730
treec5a3e26a11f0b886c27d3af3ac2dd63976b2ff81
parente4f3ec063421bdbcb93330e72aa3eeedb6a0d85a
udf: Fix regression in UDF anchor block detection

In some cases it could happen that some block passed test in
udf_check_anchor_block() even though udf_read_tagged() refused to read it later
(e.g. because checksum was not correct).  This patch makes
udf_check_anchor_block() use udf_read_tagged() so that the checking is
stricter.

This fixes the regression (certain disks unmountable) caused by commit
423cf6dc04eb79d441bfda2b127bc4b57134b41d.

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