diff options
author | Andy Grover <agrover@redhat.com> | 2013-11-26 12:07:54 -0800 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2013-12-16 13:28:19 -0800 |
commit | d344f8a15637e8b57a0d05a6d50182c11de08606 (patch) | |
tree | e4dc624eec2f9e2e8794d865f8ab62153666a72a /lib/crc7.c | |
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>
Diffstat (limited to 'lib/crc7.c')
0 files changed, 0 insertions, 0 deletions