Ignore:
Timestamp:
Mar 15, 2017, 2:42:58 AM (2 months ago)
Author:
brainslayer
Message:

use new squashfs in all kernels

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/linux/universal/linux-4.9/fs/fat/inode.c

    r31574 r31662  
    13601360}
    13611361
     1362static void fat_dummy_inode_init(struct inode *inode)
     1363{
     1364        /* Initialize this dummy inode to work as no-op. */
     1365        MSDOS_I(inode)->mmu_private = 0;
     1366        MSDOS_I(inode)->i_start = 0;
     1367        MSDOS_I(inode)->i_logstart = 0;
     1368        MSDOS_I(inode)->i_attrs = 0;
     1369        MSDOS_I(inode)->i_pos = 0;
     1370}
     1371
    13621372static int fat_read_root(struct inode *inode)
    13631373{
     
    18041814        if (!fat_inode)
    18051815                goto out_fail;
    1806         MSDOS_I(fat_inode)->i_pos = 0;
     1816        fat_dummy_inode_init(fat_inode);
    18071817        sbi->fat_inode = fat_inode;
    18081818
     
    18101820        if (!fsinfo_inode)
    18111821                goto out_fail;
     1822        fat_dummy_inode_init(fsinfo_inode);
    18121823        fsinfo_inode->i_ino = MSDOS_FSINFO_INO;
    18131824        sbi->fsinfo_inode = fsinfo_inode;
Note: See TracChangeset for help on using the changeset viewer.