Re: [PATCH 23/32] target: Add lun->lun_tpg pointer

2013-12-16 Thread Nicholas A. Bellinger
On Fri, 2013-12-13 at 15:59 -0800, Andy Grover wrote: > Although the port also has a tpg pointer, if there's no port to link > (lun->lun_sep is NULL) then we can't get to it. So we need one in se_lun. > > Signed-off-by: Andy Grover > --- > drivers/target/target_core_tpg.c |2 ++ > include/t

[PATCH 23/32] target: Add lun->lun_tpg pointer

2013-12-13 Thread Andy Grover
Although the port also has a tpg pointer, if there's no port to link (lun->lun_sep is NULL) then we can't get to it. So we need one in se_lun. Signed-off-by: Andy Grover --- drivers/target/target_core_tpg.c |2 ++ include/target/target_core_base.h |1 + 2 files changed, 3 insertions(+),