Re: [PATCH 18/32] target: More core_dev_del cleanups

2013-12-16 Thread Nicholas A. Bellinger
On Fri, 2013-12-13 at 15:59 -0800, Andy Grover wrote: core_dev_del_lun needs no return value. Also change it to take a se_lun* instead of the unpacked lun. Rename core_tpg_pre_dellun to core_tpg_free_lun, and post_dellun to remove_lun. Swap the order they are called, and hold off on setting

[PATCH 18/32] target: More core_dev_del cleanups

2013-12-13 Thread Andy Grover
core_dev_del_lun needs no return value. Also change it to take a se_lun* instead of the unpacked lun. Rename core_tpg_pre_dellun to core_tpg_free_lun, and post_dellun to remove_lun. Swap the order they are called, and hold off on setting lun_status to STATUS_FREE until the end of free_lun.