]> 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)
commitd0600a3e684bbcb56f31aceeda255453a05f1c0b
tree6f7eeb423163445b1b886460f895d9632e1330d7
parente729e08ba77c5016ac8f91bff0225843f061251e
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: f58ff412d12a ("ubifs: Don't leak orphans on memory during commit")
Signed-off-by: Richard Weinberger <richard@nod.at>
fs/ubifs/orphan.c