diff --git a/cinder/volume/drivers/hitachi/hbsd_basiclib.py b/cinder/volume/drivers/hitachi/hbsd_basiclib.py index f4bc75779..ccb1a3cd1 100644 --- a/cinder/volume/drivers/hitachi/hbsd_basiclib.py +++ b/cinder/volume/drivers/hitachi/hbsd_basiclib.py @@ -198,10 +198,6 @@ class FileLock(lockutils.InterProcessLock): super(FileLock, self).__init__(name) def __enter__(self): - if not os.access(self.fname, os.W_OK): - msg = output_err(633, file=self.fname) - raise exception.HBSDError(message=msg) - self.lock_object.acquire() try: