Re: [PATCH] proc_do_large_bitmap - return error on writes to non-existant bitmap

From: Iurii Zaikin
Date: Mon Dec 02 2019 - 13:44:44 EST


On Wed, Nov 27, 2019 at 1:55 AM Maciej Åenczykowski
<zenczykowski@xxxxxxxxx> wrote:
> We return ENOMEDIUM 'No medium found', because it's the best error
> I could come up with to describe the situation.
EFAULT for bitmap == NULL and
EINVAL for bitmap_len == 0?