Commit efcb184e authored by Michael Hanselmann's avatar Michael Hanselmann
Browse files

LUNodeQueryStorage: Acquire all locks in shared mode

Nothing is written to.
Signed-off-by: default avatarMichael Hanselmann <>
Reviewed-by: default avatarIustin Pop <>
parent aefb66c0
......@@ -4682,8 +4682,8 @@ class LUNodeQueryStorage(NoHooksLU):
def ExpandNames(self):
self.share_locks = _ShareAll()
self.needed_locks = {}
self.share_locks[locking.LEVEL_NODE] = 1
if self.op.nodes:
self.needed_locks[locking.LEVEL_NODE] = \
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment