File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -192,8 +192,7 @@ impl FatVolume {
192
192
let fat_offset = cluster. 0 * 2 ;
193
193
let this_fat_block_num = self . lba_start + self . fat_start . offset_bytes ( fat_offset) ;
194
194
let this_fat_ent_offset = ( fat_offset % Block :: LEN_U32 ) as usize ;
195
- let block =
196
- fat_block_cache. read ( & volume_mgr, this_fat_block_num, "next_cluster" ) ?;
195
+ let block = fat_block_cache. read ( volume_mgr, this_fat_block_num, "next_cluster" ) ?;
197
196
let fat_entry =
198
197
LittleEndian :: read_u16 ( & block[ this_fat_ent_offset..=this_fat_ent_offset + 1 ] ) ;
199
198
match fat_entry {
@@ -215,8 +214,7 @@ impl FatVolume {
215
214
let fat_offset = cluster. 0 * 4 ;
216
215
let this_fat_block_num = self . lba_start + self . fat_start . offset_bytes ( fat_offset) ;
217
216
let this_fat_ent_offset = ( fat_offset % Block :: LEN_U32 ) as usize ;
218
- let block =
219
- fat_block_cache. read ( & volume_mgr, this_fat_block_num, "next_cluster" ) ?;
217
+ let block = fat_block_cache. read ( volume_mgr, this_fat_block_num, "next_cluster" ) ?;
220
218
let fat_entry =
221
219
LittleEndian :: read_u32 ( & block[ this_fat_ent_offset..=this_fat_ent_offset + 3 ] )
222
220
& 0x0FFF_FFFF ;
You can’t perform that action at this time.
0 commit comments