On 14/11/20 8:17 pm, Samuel Thibault wrote:
> Hello,
> 
> Damien Zammit, le sam. 14 nov. 2020 14:37:37 +1100, a ecrit:
>> Previous problems mentioned with 2x rumpdisk partitions all fixed.
> 
> Congrats!
> 
> What was the issue?

The logic around default behaviour when the device was already open was
broken, causing D_ALREADY_OPEN from being returned I think gave EBUSY
but the send right was still being set?  I'm not exactly sure,
but after I fixed the device_open logic it worked correctly.

By the way, should we keep the device right stored in struct block_device *bd,
so we can give already open devices the same right? Or is it okay to continue
calling ports_get_right(bd) every time we reopen?

Damien

Reply via email to