Re: [PATCH 16/32] target: Rename core_tpg_{pre,post}_addlun for clarity

2013-12-16 Thread Nicholas A. Bellinger
On Fri, 2013-12-13 at 15:59 -0800, Andy Grover wrote: > "pre" is really an allocation function. The only time it isn't called is > for virtual_lun0, which is statically allocated. Renaming that to "alloc" > lets the other function not need to be "post", and just be called > core_tpg_add_lun. > > S

[PATCH 16/32] target: Rename core_tpg_{pre,post}_addlun for clarity

2013-12-13 Thread Andy Grover
"pre" is really an allocation function. The only time it isn't called is for virtual_lun0, which is statically allocated. Renaming that to "alloc" lets the other function not need to be "post", and just be called core_tpg_add_lun. Signed-off-by: Andy Grover --- drivers/target/target_core_device.