diff options
| author | Jörn Engel <[email protected]> | 2010-04-22 14:11:43 +0200 | 
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2010-04-22 14:11:43 +0200 | 
| commit | 6de9400250f95f82da432c28b9b43823f4154c58 (patch) | |
| tree | 6125f79cda585842162096ded41c8ce859593144 /kernel/gcov/gcov.h | |
| parent | 424264b7b220e8eee165dc3080ae48692af73dec (diff) | |
Fix JFFS2 sync silent failure
JFFS2 does not appear to set s_bdi anywhere.  And as of 32a88aa1,
__sync_filesystem() will return 0 if s_bdi is not set.  As a result,
sync_fs() is never called for jffs2 and whatever remains in the wbuf
will not make it to the device.
Fix that up by assigning the mtd bdi.
Signed-off-by: Jörn Engel <[email protected]>
Acked-By: David Woodhouse <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'kernel/gcov/gcov.h')
0 files changed, 0 insertions, 0 deletions