need to check whether the loop device exists after excute losetupcmd --find
authorjianzhong.fang <jz.fang@samsung.com>
Thu, 17 Mar 2016 02:28:28 +0000 (10:28 +0800)
committerSoonKyu Park <sk7.park@samsung.com>
Sat, 11 Jun 2016 11:38:26 +0000 (20:38 +0900)
Change-Id: I0611a6b52f6e8a5ecc17f1fbc12044a0f7167326

mic/utils/fs_related.py

index dd50aee1dcf5c882f5e97ceae9a9d7744618d917..a6c2c0bdffcf062e7c3b152ea410da42fb18febf 100644 (file)
@@ -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