]> git.baikalelectronics.ru Git - kernel.git/commit
UBI: release locks in check_corruption
authorDan Carpenter <error27@gmail.com>
Thu, 18 Nov 2010 03:58:04 +0000 (06:58 +0300)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Fri, 19 Nov 2010 13:19:40 +0000 (15:19 +0200)
commit1ff64bc0938582d78c6b76a6de2e50ae140ac9ce
treec0ebf23becdbe770d9c8e8ab3b8613e5143d4bb3
parentd7625601219f54426c30ec1edd4e6354971f9de3
UBI: release locks in check_corruption

Commit 1261609bbcd108 "UBI: tighten the corrupted PEB criteria"
introduced some return paths that didn't release the ubi->buf_mutex

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
drivers/mtd/ubi/scan.c