On Wed, Jul 26, 2023 at 09:59:04AM +0300, Dan Carpenter wrote:

> If btrfs_read_fs_root() fails with -ENOENT, then we go to the next
> entry.  Fine.  But if it fails for a different reason then we need
> to clean up and return an error code.  In the current code it
> doesn't clean up but instead dereferences "root" and crashes.
> 
> Signed-off-by: Dan Carpenter <dan.carpen...@linaro.org>
> Reviewed-by: Marek BehĂșn <ka...@kernel.org>
> Reviewed-by: Qu Wenruo <w...@suse.com>

Applied to u-boot/next, thanks!

-- 
Tom

Attachment: signature.asc
Description: PGP signature

Reply via email to