target: Simplify lu_gp handling code
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | target: Ensure lu_gp_mem->lu_gp is never NULLdrivers/ drivers/ | +4 | 0 replies | |
| 2/2 | target: Simplify target_core_store_alua_lu_gpdrivers/ | +13 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] target: Simplify lu_gp handling code
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(-)
Signature · 1 line
1.8.5.3