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.5/arch/arm/mach-brcm-hnd/board_ns.c

    r21961 r31672  
    429429
    430430                if (squashfsb->s_magic == SQUASHFS_MAGIC) {
    431                         rootfssize = squashfsb->bytes_used;
     431                        rootfssize = le64_to_cpu(squashfsb->bytes_used);;
    432432                        printk(KERN_NOTICE
    433433                               "%s: squash filesystem found at block %d\n",
     
    726726               
    727727                if (squashfsb->s_magic == SQUASHFS_MAGIC) {
    728                         rootfssize = squashfsb->bytes_used;
     728                        rootfssize = le64_to_cpu(squashfsb->bytes_used);;
    729729                        printk(KERN_NOTICE
    730730                               "%s: squash filesystem with lzma found at block %d\n",
     
    733733                }
    734734                if (squashfsb2 && squashfsb2->s_magic == SQUASHFS_MAGIC) {
    735                         rootfssize = squashfsb2->bytes_used;
     735                        rootfssize = le64_to_cpu(squashfsb2->bytes_used);;
    736736                        off+=0x60;
    737737                        printk(KERN_NOTICE
Note: See TracChangeset for help on using the changeset viewer.