diff options
author | Richard Purdie <rpurdie@openedhand.com> | 2007-07-10 20:33:54 +0100 |
---|---|---|
committer | David Woodhouse <dwmw2@infradead.org> | 2007-07-11 14:57:17 +0100 |
commit | 8691a729a2a3d739ee40a577053157393450aabd (patch) | |
tree | db9c69d95dc2ff04e0752ba2df8ecb3bfd217d21 /fs/jffs2/Makefile | |
parent | a2e96b627b58efe2d618a415f34b9b9d9f829bd6 (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/jffs2/Makefile')
0 files changed, 0 insertions, 0 deletions