Skip to content

Commit af8e956

Browse files
committed
Remove useless loadLocked param on vdi methods
Signed-off-by: Ronan Abhamon <ronan.abhamon@vates.tech>
1 parent f373af5 commit af8e956

5 files changed

Lines changed: 5 additions & 5 deletions

File tree

drivers/CephFSSR.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ def delete(self, sr_uuid) -> None:
269269
raise xs_errors.SROSError(114, "Failed to remove CephFS mount point")
270270

271271
@override
272-
def vdi(self, uuid, loadLocked=False) -> VDI.VDI:
272+
def vdi(self, uuid) -> VDI.VDI:
273273
return CephFSFileVDI(self, uuid)
274274

275275
@staticmethod

drivers/GlusterFSSR.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ def delete(self, sr_uuid) -> None:
249249
raise xs_errors.SROSError(114, "Failed to remove GlusterFS mount point")
250250

251251
@override
252-
def vdi(self, uuid, loadLocked=False) -> VDI.VDI:
252+
def vdi(self, uuid) -> VDI.VDI:
253253
return GlusterFSFileVDI(self, uuid)
254254

255255
@staticmethod

drivers/MooseFSSR.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ def delete(self, sr_uuid) -> None:
278278
raise xs_errors.SROSError(114, "Failed to remove MooseFS mount point")
279279

280280
@override
281-
def vdi(self, uuid, loadLocked=False) -> VDI.VDI:
281+
def vdi(self, uuid) -> VDI.VDI:
282282
return MooseFSFileVDI(self, uuid)
283283

284284
@staticmethod

drivers/XFSSR.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ def create(self, sr_uuid, size) -> None:
235235
scsiutil.devlist_to_serialstring(self.dconf['device'].split(',')))
236236

237237
@override
238-
def vdi(self, uuid, loadLocked = False) -> VDI.VDI:
238+
def vdi(self, uuid) -> VDI.VDI:
239239
return XFSFileVDI(self, uuid)
240240

241241
@staticmethod

drivers/ZFSSR.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ def detach(self, sr_uuid) -> None:
120120
return super(ZFSSR, self).detach(sr_uuid)
121121

122122
@override
123-
def vdi(self, uuid, loadLocked=False) -> VDI.VDI:
123+
def vdi(self, uuid) -> VDI.VDI:
124124
return ZFSFileVDI(self, uuid)
125125

126126
# Ensure _checkmount is overridden to prevent bad behaviors in FileSR.

0 commit comments

Comments
 (0)