Re: [PATCH] ubifs: Fix error return code in ubifs_init_authentication()

2020-11-23 Thread Sascha Hauer
On Tue, Nov 24, 2020 at 02:33:20PM +0800, Wang ShaoBo wrote: > 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 functi

[PATCH] ubifs: Fix error return code in ubifs_init_authentication()

2020-11-23 Thread Wang ShaoBo
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 --- fs/ub