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

fix fs detection

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/linux/universal/linux-3.2/drivers/mtd/devices/ar9100_pflash.c

    r31660 r31672  
    282282                sb = (struct squashfs_super_block *) buf;
    283283                dir_parts[2].offset = offset;
    284                 dir_parts[2].size = sb->bytes_used;
     284                dir_parts[2].size = le64_to_cpu(sb->bytes_used);
    285285                len = dir_parts[2].offset + dir_parts[2].size;
    286286                len +=  (mtd->erasesize - 1);
Note: See TracChangeset for help on using the changeset viewer.