diff options
author | Jan Kara <[email protected]> | 2009-09-08 14:59:42 +0200 |
---|---|---|
committer | Jan Kara <[email protected]> | 2009-09-16 17:44:11 +0200 |
commit | 56fcad29d4b3cbcbb2ed47a9d3ceca3f57175417 (patch) | |
tree | 4ad4816b11706e350760a3e206126105a7bf9a5c /drivers/mtd/lpddr/lpddr_cmds.c | |
parent | 4f003fd32bc54ec438b8691795279844df27ce38 (diff) |
ext3: Flush disk caches on fsync when needed
In case we fsync() a file and inode is not dirty, we don't force a transaction
to disk and hence don't flush disk caches. Thus file data could be just in disk
caches and not on persistent storage. Fix the problem by flushing disk caches
if we didn't force a transaction commit.
Signed-off-by: Jan Kara <[email protected]>
Diffstat (limited to 'drivers/mtd/lpddr/lpddr_cmds.c')
0 files changed, 0 insertions, 0 deletions