Re: [PATCH 06/19] swim: simplify media change handling

2020-09-09 Thread Hannes Reinecke
On 9/8/20 4:53 PM, Christoph Hellwig wrote: > floppy_revalidate mostly duplicates work already done in floppy_open > despite only beeing called from floppy_open. Remove the function and > just clear the ->ejected flag directly under the right condition. > > Signed-off-by: Christoph Hellwig >

[PATCH 06/19] swim: simplify media change handling

2020-09-08 Thread Christoph Hellwig
floppy_revalidate mostly duplicates work already done in floppy_open despite only beeing called from floppy_open. Remove the function and just clear the ->ejected flag directly under the right condition. Signed-off-by: Christoph Hellwig Reviewed-by: Johannes Thumshirn --- drivers/block/swim.c

Re: [PATCH 06/19] swim: simplify media change handling

2020-09-02 Thread Johannes Thumshirn
And down by one, Reviewed-by: Johannes Thumshirn

[PATCH 06/19] swim: simplify media change handling

2020-09-02 Thread Christoph Hellwig
floppy_revalidate mostly duplicates work already done in floppy_open despite only beeing called from floppy_open. Remove the function and just clear the ->ejected flag directly under the right condition. Signed-off-by: Christoph Hellwig --- drivers/block/swim.c | 24 ++-- 1