Fixing rollback 35/88235/5 accepted/tizen/3.0/common/20161114.082526 accepted/tizen/3.0/ivi/20161110.015554 accepted/tizen/3.0/mobile/20161110.015320 accepted/tizen/3.0/tv/20161110.015432 accepted/tizen/3.0/wearable/20161110.015524 submit/tizen_3.0/20161107.133644 submit/tizen_3.0_common/20161110.084657
authorTomasz Iwanek <t.iwanek@samsung.com>
Thu, 15 Sep 2016 10:25:48 +0000 (12:25 +0200)
committerjongmyeong ko <jongmyeong.ko@samsung.com>
Thu, 3 Nov 2016 13:49:20 +0000 (06:49 -0700)
commitbcc1a4118edf8664b8500531e70f53889a03a78f
tree6bf65ae4ec26f18beda096a9e0a04eac47b8136c
parent0ef8a4fec09d222efd16fd595a57f2e71a1ab264
Fixing rollback

This patch should fix:
 1) Situation when backup files are not fully restored when
    file that has been backed up wasn't removed yet -> file
    is not restored (new flag: FS_MERGE_OVERWRITE)
 2) Situation when backup file was not fully copied and we
    restore broken copy (new flag: FS_COMMIT_COPY_FILE)

Submit together:
 - https://review.tizen.org/gerrit/88235
 - https://review.tizen.org/gerrit/88236

Change-Id: I49baa0c194b6247d33f40cc804610eb32aafe490
src/wgt/step/filesystem/step_wgt_patch_storage_directories.cc