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

fix fs detection

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/linux/universal/linux-4.4/drivers/mtd/nand/ath_nand.c

    r31660 r31672  
    14211421                                sb = (struct squashfs_super_block *)buf;
    14221422                                dir_parts[2].offset = offset;
    1423                                 dir_parts[2].size = sb->bytes_used;
     1423                                dir_parts[2].size = le64_to_cpu(sb->bytes_used);
    14241424                                len = dir_parts[2].offset + dir_parts[2].size;
    14251425                                len += (mtd->erasesize - 1);
Note: See TracChangeset for help on using the changeset viewer.