umount all ext4 partitions with rw permission for preventing to access filesystem...
authorByungsoo Kim <bs1770.kim@samsung.com>
Fri, 22 Feb 2013 11:00:19 +0000 (20:00 +0900)
committerjy910.yun <jy910.yun@samsung.com>
Tue, 4 Jun 2013 12:46:24 +0000 (21:46 +0900)
commit1dd0f11bdcced508edb495e7220da5e27ebdd6fc
treeac2dd0b57bf7789567cd6b08f6ec05678ce95b30
parentb2907982d272ed519178d323cff23aeb496ae72b
umount all ext4 partitions with rw permission for preventing to access filesystem during power off

previously we used to write /proc/sysrq-trigger in order to remount all rw partition with only ro permission.
But emergency remount was not general approach.
So we sent sigterm signal to all processes using each rw partition and unmount it.

Change-Id: Ie520aeeaa8391889749a908ae3b18fc2fbb54677
Signed-off-by: Byungsoo Kim <bs1770.kim@samsung.com>
ss_predefine.c