[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 1/3] push/pop errno in initrd read file path
From: |
Daniel Kiper |
Subject: |
Re: [PATCH 1/3] push/pop errno in initrd read file path |
Date: |
Thu, 10 Nov 2016 13:49:48 +0100 |
User-agent: |
Mutt/1.3.28i |
On Fri, Mar 11, 2016 at 11:28:33AM -0500, Josef Bacik wrote:
> If you try to load an initrd from http and it errors out we will free the
> initrd
> context but continue on because net_tcp_socket_close() will reset the
> grub_errno
> as will grub_initrd_close(). So we'll lose the errno and return GRUB_ERR_NONE
> instead of the original error. Add push/pulls to the appropriate places so we
> don't lose our errno. Thanks,
>
> Signed-off-by: Josef Bacik <address@hidden>
Josef, could you repost whole patch series taking into account Andrei and
Vladimir comments? We would like to have it in upcoming release.
Daniel
- Re: [PATCH 1/3] push/pop errno in initrd read file path,
Daniel Kiper <=