Re: [PATCH 18/19] sr: simplify sr_block_revalidate_disk

2020-09-09 Thread Hannes Reinecke
On 9/8/20 4:53 PM, Christoph Hellwig wrote: > Both callers have a valid CD struture available, so rely on that instead > of getting another reference. Also move the function to avoid a forward > declaration. > > Signed-off-by: Christoph Hellwig > Reviewed-by: Johannes Thumshirn > --- > drivers

[PATCH 18/19] sr: simplify sr_block_revalidate_disk

2020-09-08 Thread Christoph Hellwig
Both callers have a valid CD struture available, so rely on that instead of getting another reference. Also move the function to avoid a forward declaration. Signed-off-by: Christoph Hellwig Reviewed-by: Johannes Thumshirn --- drivers/scsi/sr.c | 36 +--- 1 file

Re: [PATCH 18/19] sr: simplify sr_block_revalidate_disk

2020-09-02 Thread Johannes Thumshirn
Looks good, Reviewed-by: Johannes Thumshirn

[PATCH 18/19] sr: simplify sr_block_revalidate_disk

2020-09-02 Thread Christoph Hellwig
Both callers have a valid CD struture available, so rely on that instead of getting another reference. Also move the function to avoid a forward declaration. Signed-off-by: Christoph Hellwig --- drivers/scsi/sr.c | 36 +--- 1 file changed, 13 insertions(+), 23 de