block: properly detect internal/external storage when tizen is run from loop-mounted... 98/273698/2
authorKarol Lewandowski <k.lewandowsk@samsung.com>
Tue, 12 Apr 2022 15:26:17 +0000 (17:26 +0200)
committerHyotaek Shim <hyotaek.shim@samsung.com>
Thu, 14 Apr 2022 11:18:58 +0000 (11:18 +0000)
commitad665e3acc10e3707309be2988a8ff14ac0bb2dd
tree9b9133cd650ed4ecfe22561e5923dc318aa3495c
parent9df472a2f80ac3244dfb99aecf42cfb65c04fb47
block: properly detect internal/external storage when tizen is run from loop-mounted image

For loop-mounted devices we have to check on which device the image file resides,
and to treat this device as internal storage.

Change-Id: I0c3e1b51e948963b2fdf0fc711539d11631f0110
packaging/storaged.spec
src/block/block.c