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, 7 Feb 2022 07:09:31 +0000 (16:09 +0900)
commitf89d950d2095ddd98a513341c468241141f490ba
tree3a77876b4f470802adbc1675bfb230fff4a27fdd
parent28bcda1247d3689e044c40aaed1521f04193a5a8
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