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

fix fs detection

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/linux/universal/linux-4.4/drivers/mtd/devices/wzrag300nh_flash.c

    r31660 r31672  
    681681                                dir_parts[2].offset = offset;
    682682
    683                                 dir_parts[2].size = sb->bytes_used;
     683                                dir_parts[2].size = le64_to_cpu(sb->bytes_used);
    684684                                len = dir_parts[2].offset + dir_parts[2].size;
    685685                                len += (mtd->erasesize - 1);
Note: See TracChangeset for help on using the changeset viewer.