From: Alexey Khoroshilov Date: Mon, 5 Nov 2012 18:40:14 +0000 (+0400) Subject: jffs2: hold erase_completion_lock on exit X-Git-Tag: v3.8-rc1~47^2~52 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2cbba75a56ea78e6876b4e2547a882f10b3fe72b;p=pandora-kernel.git 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 Cc: stable@vger.kernel.org Signed-off-by: Artem Bityutskiy --- Reading git-diff-tree failed