On Thu, Sep 11, 2008 at 10:15 AM, Michael Hanselmann <[EMAIL PROTECTED]> wrote:
> 2008/9/10 Guido Trotter <[EMAIL PROTECTED]>:
>> --- a/lib/cmdlib.py
>> +++ b/lib/cmdlib.py
>> @@ -4791,7 +4798,7 @@ class LURemoveExport(NoHooksLU):
>>       fqdn_warn = True
>>       instance_name = self.op.instance_name
>>
>> -    exportlist = rpc.call_export_list(self.cfg.GetNodeList())
>> +    exportlist = 
>> rpc.call_export_list(self.acquired_locks[locking.LEVEL_NODE])
>
> How are we handling renames if you're using lock names here?

Which renames? Here I'm just querying the locked nodes, and not
locking the instance at all (there's no need to delete its export).

Thanks,

Guido

Reply via email to