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

use new squashfs in all kernels

File:
1 edited

Legend:

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

    r28606 r31662  
    12701270}
    12711271
     1272static void fat_dummy_inode_init(struct inode *inode)
     1273{
     1274        /* Initialize this dummy inode to work as no-op. */
     1275        MSDOS_I(inode)->mmu_private = 0;
     1276        MSDOS_I(inode)->i_start = 0;
     1277        MSDOS_I(inode)->i_logstart = 0;
     1278        MSDOS_I(inode)->i_attrs = 0;
     1279        MSDOS_I(inode)->i_pos = 0;
     1280}
     1281
    12721282static int fat_read_root(struct inode *inode)
    12731283{
     
    17141724        if (!fat_inode)
    17151725                goto out_fail;
    1716         MSDOS_I(fat_inode)->i_pos = 0;
     1726        fat_dummy_inode_init(fat_inode);
    17171727        sbi->fat_inode = fat_inode;
    17181728
     
    17201730        if (!fsinfo_inode)
    17211731                goto out_fail;
     1732        fat_dummy_inode_init(fsinfo_inode);
    17221733        fsinfo_inode->i_ino = MSDOS_FSINFO_INO;
    17231734        sbi->fsinfo_inode = fsinfo_inode;
Note: See TracChangeset for help on using the changeset viewer.