diff options
author | OGAWA Hirofumi <hirofumi@mail.parknet.co.jp> | 2009-09-19 18:31:58 +0200 |
---|---|---|
committer | OGAWA Hirofumi <hirofumi@mail.parknet.co.jp> | 2009-09-19 18:35:25 +0200 |
commit | ed248b290da7297c9b9a3ff180f5eee4db016224 (patch) | |
tree | 86793695dccd8ff8e6973f546da0020964717534 /fs/notify/Kconfig | |
parent | vfat: change the default from shortname=lower to shortname=mixed (diff) | |
download | linux-ed248b290da7297c9b9a3ff180f5eee4db016224.tar.xz linux-ed248b290da7297c9b9a3ff180f5eee4db016224.zip |
fat: Check s_dirt in fat_sync_fs()
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: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Diffstat (limited to 'fs/notify/Kconfig')
0 files changed, 0 insertions, 0 deletions