aboutsummaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorArtem Bityutskiy <[email protected]>2007-03-21 11:07:05 +0200
committerDavid Woodhouse <[email protected]>2007-04-17 13:53:51 -0400
commitb0afbbec4981417f79e05865a36e57abfc289002 (patch)
treeb0e14a643310de8e1232859f5b4af3effe3a7ea6 /include/linux/debugobjects.h
parent4226b510371efd9cdc628663527d36aee36054a9 (diff)
[JFFS2] fix deadlock on error path
When the MTD driver returns write failure, the following deadlock occurs: We are in __jffs2_flush_wbuf(), we hold &c->wbuf_sem. Write failure. jffs2_wbuf_recover()->jffs2_reserve_space_gc()->jffs2_do_reserve_space() ->jffs2_erase_pending_blocks()->jffs2_flash_read() and it tries to lock &c->wbuf_sem again. Deadlock. Reported-by: Adrian Hunter <[email protected]> Signed-off-by: Artem Bityutskiy <[email protected]> Signed-off-by: David Woodhouse <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions