diff options
author | Wang ShaoBo <bobo.shaobowang@huawei.com> | 2020-11-24 07:33:20 +0100 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2020-12-13 21:57:20 +0100 |
commit | 3cded66330591cfd2554a3fd5edca8859ea365a2 (patch) | |
tree | 72df6e774d36d93acf0d32cc786c9121293d1281 /fs/hfs/btree.c | |
parent | ubifs: wbuf: Don't leak kernel memory to flash (diff) | |
download | linux-3cded66330591cfd2554a3fd5edca8859ea365a2.tar.xz linux-3cded66330591cfd2554a3fd5edca8859ea365a2.zip |
ubifs: Fix error return code in ubifs_init_authentication()
Fix to return PTR_ERR() error code from the error handling case where
ubifs_hash_get_desc() failed instead of 0 in ubifs_init_authentication(),
as done elsewhere in this function.
Fixes: 49525e5eecca5 ("ubifs: Add helper functions for authentication support")
Signed-off-by: Wang ShaoBo <bobo.shaobowang@huawei.com>
Reviewed-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'fs/hfs/btree.c')
0 files changed, 0 insertions, 0 deletions