]> git.baikalelectronics.ru Git - kernel.git/commit
ubifs: mount_ubifs: Release authentication resource in error handling path
authorZhihao Cheng <chengzhihao1@huawei.com>
Tue, 29 Sep 2020 12:45:31 +0000 (20:45 +0800)
committerRichard Weinberger <richard@nod.at>
Sun, 11 Oct 2020 20:05:50 +0000 (22:05 +0200)
commit3c06e75a1ccecf666aac38e51c82cb717930fe36
tree422e9a252dfa791cc1a1c8bc84479e6a0076d15d
parent99a65987b28b0fe099825e76936f9dd64bf382c6
ubifs: mount_ubifs: Release authentication resource in error handling path

Release the authentication related resource in some error handling
branches in mount_ubifs().

Signed-off-by: Zhihao Cheng <chengzhihao1@huawei.com>
Cc: <stable@vger.kernel.org> # 4.20+
Fixes: ce072c0b4834ecb ("ubifs: Enable authentication support")
Reviewed-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Richard Weinberger <richard@nod.at>
fs/ubifs/super.c