misc: tizen-inform-reboot: resolve sync failure about reboot parameter 13/156113/2 accepted/tizen/4.0/unified/20171020.014638 submit/tizen_4.0/20171019.085158 tizen_4.0.m2_release
authorJunghoon Kim <jhoon20.kim@samsung.com>
Tue, 17 Oct 2017 05:43:04 +0000 (14:43 +0900)
committerJunghoon Kim <jhoon20.kim@samsung.com>
Wed, 18 Oct 2017 03:18:11 +0000 (12:18 +0900)
commit1ae0c3e97ee371632b894da4314a1e8dbe9e8d89
treeb200b1183fc2565c19fa8301f5155235e9cc5cf8
parent4836e32843171ddcff379cf9a5ca412eaa2614b6
misc: tizen-inform-reboot: resolve sync failure about reboot parameter

Currently, writing reboot paramter into INFORM partition fails
infrequently.

Resolve this issue by calling sync_filesystem function so that it writes
out and waits upon all dirty data associated with this superblock.

Change-Id: Ic62df0c3c4e565ca7211eb85661ead6979f0ad8d
Signed-off-by: Junghoon Kim <jhoon20.kim@samsung.com>
drivers/misc/tizen-inform-reboot.c