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>
Tue, 30 Mar 2021 01:38:56 +0000 (10:38 +0900)
commit14a8e284f8e75c0fd5f0a824fe404a8c64ddb116
tree8f217375d3babedf2b7a2eb72535ab115a736969
parentbc2c4c96f13fef5adbbcc09c5c094565bf63342f
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