summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjianzhong.fang <jz.fang@samsung.com>2016-03-17 10:28:28 +0800
committerjianzhong.fang <jz.fang@samsung.com>2016-03-17 10:28:54 +0800
commit2ba8076582cabe48b38372baebcc677ab5e7de94 (patch)
tree2fa81c7cb69835be2844e290663a976467b94183
parent7a26cf6a5047da0da73a80c7ee36d36c7252492c (diff)
downloadmic-2ba8076582cabe48b38372baebcc677ab5e7de94.tar.gz
mic-2ba8076582cabe48b38372baebcc677ab5e7de94.tar.bz2
mic-2ba8076582cabe48b38372baebcc677ab5e7de94.zip
need to check whether the loop device exists after excute losetupcmd --find
Change-Id: I0611a6b52f6e8a5ecc17f1fbc12044a0f7167326
-rw-r--r--mic/utils/fs_related.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mic/utils/fs_related.py b/mic/utils/fs_related.py
index dd50aee..a6c2c0b 100644
--- a/mic/utils/fs_related.py
+++ b/mic/utils/fs_related.py
@@ -844,7 +844,7 @@ class LoopDevice(object):
def register(self, device):
self.device = device
self.loopid = None
- self.created = True
+ #self.created = True
def reg_atexit(self):
import atexit