Ignore:
Timestamp:
Mar 15, 2017, 1:53:13 PM (4 months ago)
Author:
brainslayer
Message:

fix fs detection

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/linux/universal/linux-3.5/drivers/mtd/devices/spiflash_selfmap.c

    r31660 r31672  
    773773                dir_parts[2].offset = offset;
    774774               
    775                 dir_parts[2].size = sb->bytes_used;
     775                dir_parts[2].size = le64_to_cpu(sb->bytes_used);
    776776                len = dir_parts[2].offset + dir_parts[2].size;
    777777                len +=  (mtd->erasesize - 1);
Note: See TracChangeset for help on using the changeset viewer.