aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@openedhand.com>2007-07-10 15:33:54 -0400
committerDavid Woodhouse <dwmw2@infradead.org>2007-07-11 09:57:17 -0400
commit8691a729a2a3d739ee40a577053157393450aabd (patch)
treedb9c69d95dc2ff04e0752ba2df8ecb3bfd217d21 /fs
parenta2e96b627b58efe2d618a415f34b9b9d9f829bd6 (diff)
[MTD] Add sync/unblank function to mtdoops
mtdoops wasn't ensuring data was flushed to flash in crash situations after recent changes in mainline kernels as tracking the oops_in_progress variable was no longer enough. We can use the "unblank" console call as a sync call to tell us to write out the buffer though. Therefore add a sync function to mtdoops and call this when console unblank events occur. Signed-off-by: Richard Purdie <rpurdie@openedhand.com> Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions