[PATCH v2] lightnvm: make geometry structures 2.0 ready

2017-12-27 Thread Matias Bjørling
From: Matias Bjørling Prepare for the 2.0 revision by adapting the geometry structures to coexist with the 1.2 revision. Changes since v1: * Keep num_pln, num_pg, and fpg_sz variable for sysfs. Signed-off-by: Matias Bjørling Reviewed-by: Javier

[PATCH v2] lightnvm: make geometry structures 2.0 ready

2017-12-27 Thread Matias Bjørling
From: Matias Bjørling Prepare for the 2.0 revision by adapting the geometry structures to coexist with the 1.2 revision. Changes since v1: * Keep num_pln, num_pg, and fpg_sz variable for sysfs. Signed-off-by: Matias Bjørling Reviewed-by: Javier González Signed-off-by: Matias Bjørling ---