Re: [PATCH 10/10] scsi_dh: move 'dh_state' sysfs attribute to generic code

2015-09-01 Thread Christoph Hellwig
On Thu, Aug 27, 2015 at 02:17:03PM +0200, Hannes Reinecke wrote: > As scsi_dh.c is now always compiled in we should be moving > the 'dh_state' attribute to the generic code. > > Signed-off-by: Hannes Reinecke Looks good, Reviewed-by: Christoph Hellwig -- To unsubscribe from this list: send the

Re: [PATCH 10/10] scsi_dh: move 'dh_state' sysfs attribute to generic code

2015-08-28 Thread James Bottomley
On Thu, 2015-08-27 at 14:17 +0200, Hannes Reinecke wrote: > As scsi_dh.c is now always compiled in we should be moving > the 'dh_state' attribute to the generic code. > > Signed-off-by: Hannes Reinecke This looks OK, but needs another reviewer. If you could also fix up the rejections caused by

[PATCH 10/10] scsi_dh: move 'dh_state' sysfs attribute to generic code

2015-08-27 Thread Hannes Reinecke
As scsi_dh.c is now always compiled in we should be moving the 'dh_state' attribute to the generic code. Signed-off-by: Hannes Reinecke --- drivers/scsi/scsi_dh.c| 67 +-- drivers/scsi/scsi_sysfs.c | 58 2 f

Re: [PATCH 10/10] scsi_dh: move 'dh_state' sysfs attribute to generic code

2015-07-09 Thread Hannes Reinecke
On 07/09/2015 10:24 AM, Christoph Hellwig wrote: > On Wed, Jul 08, 2015 at 11:07:05AM +0200, Hannes Reinecke wrote: >> As scsi_dh.c is now always compiled in we should be moving >> the 'dh_state' attribute to the generic code. >> >> Signed-off-by: Hannes Reinecke > > Looks fine, but a few coding

Re: [PATCH 10/10] scsi_dh: move 'dh_state' sysfs attribute to generic code

2015-07-09 Thread Christoph Hellwig
On Wed, Jul 08, 2015 at 11:07:05AM +0200, Hannes Reinecke wrote: > As scsi_dh.c is now always compiled in we should be moving > the 'dh_state' attribute to the generic code. > > Signed-off-by: Hannes Reinecke Looks fine, but a few coding style nitpicks: > + if (!sdev->handler) { > +

[PATCH 10/10] scsi_dh: move 'dh_state' sysfs attribute to generic code

2015-07-08 Thread Hannes Reinecke
As scsi_dh.c is now always compiled in we should be moving the 'dh_state' attribute to the generic code. Signed-off-by: Hannes Reinecke --- drivers/scsi/scsi_dh.c| 65 --- drivers/scsi/scsi_sysfs.c | 60 +++