fs/smartfs: add to check if already formatted
authorHeesub Shin <heesub.shin@samsung.com>
Mon, 20 Mar 2017 07:25:53 +0000 (16:25 +0900)
committerHeesub Shin <heesub.shin@samsung.com>
Mon, 17 Apr 2017 09:58:43 +0000 (18:58 +0900)
commit2df502d10e86f1af21e53a29f64a39f2a087a243
treed5cfeecff7a3d86bab9dbed96f84c2a07f260190
parentfc82adaf5c7303f77cdf3ce56ff1b8be17d339ca
fs/smartfs: add to check if already formatted

Before formatting a volume, check if it is already formatted and then
skip, when 'force' is not true.

Change-Id: I6965b693005fc360e9977cc1fa79cdce29f30d04
Signed-off-by: Heesub Shin <heesub.shin@samsung.com>
os/fs/smartfs/smartfs_mksmartfs.c