]> git.baikalelectronics.ru Git - kernel.git/commit
ubifs: Fix double unlock around orphan_delete()
authorRichard Weinberger <richard@nod.at>
Tue, 13 Aug 2019 21:50:51 +0000 (23:50 +0200)
committerRichard Weinberger <richard@nod.at>
Thu, 22 Aug 2019 15:24:58 +0000 (17:24 +0200)
commit7cd7cfdbae495f9bd573e1af725897151553c35d
tree6f7eeb423163445b1b886460f895d9632e1330d7
parentc8b3d4b38dc7cbaef27cdf886c7c6eae55ec8139
ubifs: Fix double unlock around orphan_delete()

We unlock after orphan_delete(), so no need to unlock
in the function too.

Reported-by: Han Xu <han.xu@nxp.com>
Fixes: fb7af80afb03 ("ubifs: Don't leak orphans on memory during commit")
Signed-off-by: Richard Weinberger <richard@nod.at>
fs/ubifs/orphan.c