diff options
author | Alexey Khoroshilov <khoroshilov@ispras.ru> | 2012-11-05 22:40:14 +0400 |
---|---|---|
committer | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | 2012-11-18 11:59:01 +0200 |
commit | 2cbba75a56ea78e6876b4e2547a882f10b3fe72b (patch) | |
tree | 5a3789fbc954d829605e0bd3d5fa49bedcfcbbc9 /fs/read_write.c | |
parent | d68cbdd4fb04d2b756ad53c22f36943167b16340 (diff) |
jffs2: hold erase_completion_lock on exit
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>
Cc: stable@vger.kernel.org
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Diffstat (limited to 'fs/read_write.c')
0 files changed, 0 insertions, 0 deletions