Re: [PATCH 4/4] block: check_events: don't bother with events if unsupported

2019-01-26 Thread Hannes Reinecke
On 1/18/19 10:32 PM, Martin Wilck wrote: Drivers now report to the block layer if they support media change events. If this is not the case, there's no need to allocate the event structure, and all event handling code can effectively be skipped. This simplifies code flow in particular for non-rem

[PATCH 4/4] block: check_events: don't bother with events if unsupported

2019-01-18 Thread Martin Wilck
Drivers now report to the block layer if they support media change events. If this is not the case, there's no need to allocate the event structure, and all event handling code can effectively be skipped. This simplifies code flow in particular for non-removable sd devices. This effectively revert