fs/smartfs: revert changes by samsung
authorHeesub Shin <heesub.shin@samsung.com>
Mon, 20 Mar 2017 07:01:55 +0000 (16:01 +0900)
committerHeesub Shin <heesub.shin@samsung.com>
Mon, 17 Apr 2017 09:58:42 +0000 (18:58 +0900)
commitfc82adaf5c7303f77cdf3ce56ff1b8be17d339ca
tree024bd15dfa21b219deec7d1c2b9066469d0fa284
parentd463065c261f4e2a364db7989654e195007df821
fs/smartfs: revert changes by samsung

mksmartfs() accepts a boolean value that specifies how to behave when
the volume is already formatted, to prevent it from being damaged.
However, the way of checking whether the volume is formatted or not is
completely wrong. I never understand what the hell they thought when
they had done this.

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