errno is set to a negative value in lib/tar.c

2023-10-02 Thread Erik Sjölund
Hi, Does this patch make sense? (I thought errno should be set to a non-negative value) Best regards, Erik Sjölund diff --git a/lib/tar.c b/lib/tar.c index 0744972..8204939 100644 --- a/lib/tar.c +++ b/lib/tar.c @@ -241,7 +241,7 @@ static long long tarerofs_otoi(const char *ptr, int len)

Re: [PATCH v4 0/29] block: Make blkdev_get_by_*() return handle

2023-10-02 Thread Jan Kara
On Wed 27-09-23 18:21:19, Christian Brauner wrote: > On Wed, 27 Sep 2023 11:34:07 +0200, Jan Kara wrote: > > Create struct bdev_handle that contains all parameters that need to be > > passed to blkdev_put() and provide bdev_open_* functions that return > > this structure instead of plain bdev