git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9552347
)
fat: Check s_dirt in fat_sync_fs()
author
OGAWA Hirofumi
<hirofumi@mail.parknet.co.jp>
Sat, 19 Sep 2009 16:31:58 +0000
(
01:31
+0900)
committer
OGAWA Hirofumi
<hirofumi@mail.parknet.co.jp>
Sat, 19 Sep 2009 16:35:25 +0000
(
01:35
+0900)
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>
No differences found