Skip to content

Commit 64cc804

Browse files
committed
FatTableTooLarge can be ignored, because the value flag is in the second block of the fat table
1 parent d9eb2c8 commit 64cc804

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

src/lib.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,8 +177,6 @@ where
177177
VolumeAlreadyOpen,
178178
/// Volume is opened in read only mode
179179
VolumeReadOnly,
180-
/// Fat table is longer than supported
181-
FatTableTooLarge,
182180
/// We can't do that yet
183181
Unsupported,
184182
/// Tried to read beyond end of file

src/volume_mgr.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -359,9 +359,6 @@ where
359359
volume: &FatVolume,
360360
dirty: bool,
361361
) -> Result<(), Error<D::Error>> {
362-
if volume.fat_size > BlockCount(512) {
363-
return Err(Error::FatTableTooLarge);
364-
}
365362
let mut blocks = [Block::new()];
366363
self.block_device.read(
367364
&mut blocks,

0 commit comments

Comments
 (0)