diff options
author | Alexey Khoroshilov <khoroshilov@ispras.ru> | 2012-11-05 22:40:14 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-01-17 08:46:09 -0800 |
commit | f771bae5ca892efab92c0b51988821a98f95b6af (patch) | |
tree | 00867e84542a285a46a9f684ee45be3712878f15 /tools | |
parent | 5758b7dc3cc847cf0c3b3f4df9e3acb44aaffd0e (diff) | |
download | lwn-f771bae5ca892efab92c0b51988821a98f95b6af.tar.gz lwn-f771bae5ca892efab92c0b51988821a98f95b6af.zip |
jffs2: hold erase_completion_lock on exit
commit 2cbba75a56ea78e6876b4e2547a882f10b3fe72b upstream.
Users of jffs2_do_reserve_space() expect they still held
erase_completion_lock after call to it. But there is a path
where jffs2_do_reserve_space() leaves erase_completion_lock unlocked.
The patch fixes it.
Found by Linux Driver Verification project (linuxtesting.org).
Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions