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

fix fs detection

File:
1 edited

Legend:

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

    r28375 r31672  
    3333#include <linux/magic.h>
    3434#include <linux/err.h>
     35#include <linux/squashfs_fs.h>
    3536
    3637#define MTD_ERASE_PARTIAL       0x8000 /* partition only covers parts of an erase block */
     
    730731#define ROOTFS_REMOVED_NAME "<removed>"
    731732
    732 struct squashfs_super_block {
    733         __le32 s_magic;
    734         __le32 pad0[9];
    735         __le64 bytes_used;
    736 };
    737 
    738733
    739734static int split_squashfs(struct mtd_info *master, int offset, int *split_offset)
Note: See TracChangeset for help on using the changeset viewer.