block: Improve stability of unmount 51/219051/7 accepted/tizen/unified/20191216.222300 submit/tizen/20191216.071532
authorYunmi Ha <yunmi.ha@samsung.com>
Mon, 2 Dec 2019 01:57:01 +0000 (10:57 +0900)
committerYunmi Ha <yunmi.ha@samsung.com>
Fri, 13 Dec 2019 06:19:07 +0000 (15:19 +0900)
commit0a4f7ab47c2997a8020c2ad29e01eab5f7cea578
tree2776cf07ad303b18d1b209d43f874a5a14d77e19
parent145d266dc957a0fb5e51a4db7100060e0df6a052
block: Improve stability of unmount

- Using AddPowerOffWait/RemovePowerOffWait method of deviced.
- Change unmount processing order

Change-Id: I8754f1d3b732f15c5aa77a2233d918578e9c2aae
Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
src/block/block.c
src/block/utils.c
src/block/utils.h