commit | d344f8a15637e8b57a0d05a6d50182c11de08606 | [log] [tgz] |
---|---|---|
author | Andy Grover <agrover@redhat.com> | Tue Nov 26 12:07:54 2013 -0800 |
committer | Nicholas Bellinger <nab@linux-iscsi.org> | Mon Dec 16 13:28:19 2013 -0800 |
tree | e4dc624eec2f9e2e8794d865f8ab62153666a72a | |
parent | 2af7973a37059c92330014ee5f39adc94900e7e1 [diff] |
target: Rename core_tpg_{pre,post}_addlun for clarity "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. (nab: fix minor applying fuzz in core_tpg_setup_virtual_lun0) Signed-off-by: Andy Grover <agrover@redhat.com> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>