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