udf: Use device size when drive reported bogus number of written blocks
authorJan Kara <jack@suse.cz>
Thu, 18 Jun 2009 10:33:16 +0000 (12:33 +0200)
committerJan Kara <jack@suse.cz>
Thu, 18 Jun 2009 10:33:16 +0000 (12:33 +0200)
Some drives report 0 as the number of written blocks when there are some blocks
recorded. Use device size in such case so that we can automagically mount such
media.

Signed-off-by: Jan Kara <jack@suse.cz>

No differences found