Re: [PATCH] efi_loader: file: set a backend block device for file operations

2020-03-01 Thread AKASHI Takahiro
On Fri, Feb 28, 2020 at 07:13:42PM +0100, Heinrich Schuchardt wrote: > On 2/28/20 1:05 AM, AKASHI Takahiro wrote: > > In the current implementation, set_blk_dev() is called in opening a file, > > but not in opening a directory. This will cause failures at succeeding > > directory operations as the

Re: [PATCH] efi_loader: file: set a backend block device for file operations

2020-02-28 Thread Heinrich Schuchardt
On 2/28/20 1:05 AM, AKASHI Takahiro wrote: In the current implementation, set_blk_dev() is called in opening a file, but not in opening a directory. This will cause failures at succeeding directory operations as the "current" block device remains nullified. Adding set_blk_dev() fixes this issue.

[PATCH] efi_loader: file: set a backend block device for file operations

2020-02-27 Thread AKASHI Takahiro
In the current implementation, set_blk_dev() is called in opening a file, but not in opening a directory. This will cause failures at succeeding directory operations as the "current" block device remains nullified. Adding set_blk_dev() fixes this issue. Signed-off-by: AKASHI Takahiro ---