remotefs: remove invalid "external" arg on lock method

This is not implemented correctly (can't be used), and
has no users, so just remove it.

Change-Id: I923a9b36ba53d1367c2c49aeb26ada89c5e0e407
This commit is contained in:
Eric Harney 2019-11-13 10:31:19 -05:00
parent f3ed9d436b
commit 3493a0dab2

View File

@ -106,7 +106,7 @@ CONF.register_opts(nas_opts, group=configuration.SHARED_CONF_GROUP)
CONF.register_opts(volume_opts, group=configuration.SHARED_CONF_GROUP)
def locked_volume_id_operation(f, external=False):
def locked_volume_id_operation(f):
"""Lock decorator for volume operations.
Takes a named lock prior to executing the operation. The lock is named
@ -130,7 +130,7 @@ def locked_volume_id_operation(f, external=False):
raise exception.VolumeBackendAPIException(data=err_msg)
@utils.synchronized('%s-%s' % (lock_tag, volume_id),
external=external)
external=False)
def lvo_inner2():
return f(inst, *args, **kwargs)
return lvo_inner2()