Skip to content
  • OGAWA Hirofumi's avatar
    fat: Check s_dirt in fat_sync_fs() · ed248b29
    OGAWA Hirofumi authored
    
    
    If we didn't check sb->s_dirt, it will update the FSINFO
    unconditionally. It will reduce the filetime of flash base device.
    
    So, this checks sb->s_dirt. sb->s_dirt is racy, however FSINFO is just
    hint. So even if there is race, and we hit it, it would not become big
    problem.
    
    And this also is as workaround of suspend problem.
    
    Signed-off-by: default avatarOGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
    ed248b29