misc: tizen-inform-reboot: resolve sync failure about reboot parameter
authorJunghoon Kim <jhoon20.kim@samsung.com>
Tue, 17 Oct 2017 05:43:04 +0000 (14:43 +0900)
committerHoegeun Kwon <hoegeun.kwon@samsung.com>
Mon, 6 Jul 2020 09:06:06 +0000 (18:06 +0900)
commite6ca8623a63e7ab4cce5732fe46a943596eac08a
tree049095369f694adc6be1d5066e25aff11048d4bf
parent139889b0846105e75d7dac545f13acaf1df7829e
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