diff options
author | Alexey Khoroshilov <khoroshilov@ispras.ru> | 2012-11-05 19:40:14 +0100 |
---|---|---|
committer | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | 2012-11-18 10:59:01 +0100 |
commit | 2cbba75a56ea78e6876b4e2547a882f10b3fe72b (patch) | |
tree | 5a3789fbc954d829605e0bd3d5fa49bedcfcbbc9 /fs/cifs/smb2inode.c | |
parent | mtd: physmap_of: allow to specify the mtd name for retro compatiblity (diff) | |
download | linux-2cbba75a56ea78e6876b4e2547a882f10b3fe72b.tar.xz linux-2cbba75a56ea78e6876b4e2547a882f10b3fe72b.zip |
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/cifs/smb2inode.c')
0 files changed, 0 insertions, 0 deletions