Il 18/02/2013 14:04, Peter Lieven ha scritto:
>>>
>>
>> I didn't write to *remove* the switch statement, I wrote to *move* it
>> into a new function and use it from iscsi_truncate.
> 
> Sorry, not enough sleep. However, truncate makes only sense for lun type
> disk, doesn't it?

I think so, mostly because anyway you can use "change" to reset the
capacity on TYPE_ROM, they are removable.  But still the code looks
better that way.

Paolo

Reply via email to