Re: [PATCH 4/5] target/qla2xxx: Define NPIV ops in terms of normal ops

2013-08-21 Thread Andy Grover
On 08/20/2013 11:30 PM, Christoph Hellwig wrote: On Tue, Aug 20, 2013 at 06:00:06PM -0700, Andy Grover wrote: Instead of defining a second target_core_fabric_ops struct, use the same one as normal (tcm_qla2xxx_ops) and then fixup the changed methods. This should make it a little easier to pick

Re: [PATCH 4/5] target/qla2xxx: Define NPIV ops in terms of normal ops

2013-08-20 Thread Christoph Hellwig
On Tue, Aug 20, 2013 at 06:00:06PM -0700, Andy Grover wrote: > Instead of defining a second target_core_fabric_ops struct, use the > same one as normal (tcm_qla2xxx_ops) and then fixup the changed methods. > > This should make it a little easier to pick out the npiv differences, and > also save a

[PATCH 4/5] target/qla2xxx: Define NPIV ops in terms of normal ops

2013-08-20 Thread Andy Grover
Instead of defining a second target_core_fabric_ops struct, use the same one as normal (tcm_qla2xxx_ops) and then fixup the changed methods. This should make it a little easier to pick out the npiv differences, and also save a little space. Signed-off-by: Andy Grover --- drivers/scsi/qla2xxx/tc