This set changes the behavior added here:

https://lkml.org/lkml/2009/2/12/22

We can simplify code paths dealing with lu_gp if we just have to handle
(default_lu_gp vs explicit lu_gp), instead of (default_lu_gp vs
explicit lu_gp vs NULL). The only consequence would be that showing
logical unit group identifier (target_core_spc.c:358) in vpd83 info
couldn't be disabled, and there didn't seem to be a reason I could come
up with for why anyone would ever want to disable it - if you don't
care, just don't look at it.

Andy Grover (2):
  target: Ensure lu_gp_mem->lu_gp is never NULL
  target: Simplify target_core_store_alua_lu_gp

 drivers/target/target_core_alua.c     |  6 ++---
 drivers/target/target_core_configfs.c | 47 +++++++++++------------------------
 2 files changed, 16 insertions(+), 37 deletions(-)

-- 
1.8.5.3

--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to