fs/smartfs: add to check if already formatted
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 <45471ea77bd08f3d26635f3f5adb40ba41250a2b@samsung.com>

olegartys/TizenRT,pillip8282/TizenRT,dr-venkman/TizenRT,JeongJunSik/TizenRT,HONGCHAEHEE/TizenRT,sunghan-chang/TizenRT,lokeshbv/TizenRT,JeonginKim/TizenRT,lokeshbv/TizenRT,davidfather/TizenRT,an4967/TizenRT,lokeshbv/TizenRT,youngeunpark/TizenRT,junmin-kim/TizenRT,an4967/TizenRT,kimusan/TizenRT,chanijjani/TizenRT,JeonginKim/TizenRT,lssgood/TizenRT,Parkjihooni6186/TizenRT,lssgood/TizenRT,heejin-kim/TizenRT,shivgarg/TizenRT,chanijjani/TizenRT,guswns0528/TizenRT,olegartys/TizenRT,EunBongSong/TizenRT,chanijjani/TizenRT,kimusan/TizenRT,sunghan-chang/TizenRT,btheosam/TizenRT,jsdosa/TizenRT,jeongarmy/TizenRT,yashwanth686007/TizenRTOS,chanijjani/TizenRT,sangwon03/TizenRT,heejin-kim/TizenRT,jsdosa/TizenRT,sangwon03/TizenRT,davidfather/TizenRT,manoharahk/TizenRT,btheosam/TizenRT,btheosam/TizenRT,JeonginKim/TizenRT,youngeunpark/TizenRT,an4967/TizenRT,an4967/TizenRT,dr-venkman/TizenRT,Samsung/TizenRT,Samsung/TizenRT,lssgood/TizenRT,jeongchanKim/TizenRT,davidfather/TizenRT,JunhwanPark/TizenRT,manoharahk/TizenRT,olegartys/TizenRT,lssgood/TizenRT,HONGCHAEHEE/TizenRT,junmin-kim/TizenRT,yashwanth686007/TizenRTOS,junmin-kim/TizenRT,jsdosa/TizenRT,JunhwanPark/TizenRT,jeongchanKim/TizenRT,manoharahk/TizenRT,davidfather/TizenRT,manoharahk/TizenRT,kimusan/TizenRT,btheosam/TizenRT,EunBongSong/TizenRT,kimusan/TizenRT,youngeunpark/TizenRT,JunhwanPark/TizenRT,yashwanth686007/TizenRTOS,JeongJunSik/TizenRT,dr-venkman/TizenRT,Parkjihooni6186/TizenRT,JeonginKim/TizenRT,jeongchanKim/TizenRT,jeongarmy/TizenRT,pillip8282/TizenRT,sangwon03/TizenRT,manoharahk/TizenRT,jeongarmy/TizenRT,guswns0528/TizenRT,olegartys/TizenRT,manoharahk/TizenRT,Parkjihooni6186/TizenRT,Samsung/TizenRT,HONGCHAEHEE/TizenRT,youngeunpark/TizenRT,HONGCHAEHEE/TizenRT,Samsung/TizenRT,HONGCHAEHEE/TizenRT,an4967/TizenRT,JeonginKim/TizenRT,kimusan/TizenRT,shivgarg/TizenRT,yashwanth686007/TizenRTOS,pillip8282/TizenRT,yashwanth686007/TizenRTOS,EunBongSong/TizenRT,lokeshbv/TizenRT,btheosam/TizenRT,davidfather/TizenRT,Samsung/TizenRT,lssgood/TizenRT,Samsung/TizenRT,Parkjihooni6186/TizenRT,olegartys/TizenRT,youngeunpark/TizenRT,dr-venkman/TizenRT,youngeunpark/TizenRT,shivgarg/TizenRT,Parkjihooni6186/TizenRT,heejin-kim/TizenRT,heejin-kim/TizenRT,jeongarmy/TizenRT,jeongarmy/TizenRT,shivgarg/TizenRT,an4967/TizenRT,sangwon03/TizenRT,sangwon03/TizenRT,heejin-kim/TizenRT,guswns0528/TizenRT,EunBongSong/TizenRT,junmin-kim/TizenRT,chanijjani/TizenRT,JeongJunSik/TizenRT,jsdosa/TizenRT,shivgarg/TizenRT,HONGCHAEHEE/TizenRT,jeongchanKim/TizenRT,shivgarg/TizenRT,jsdosa/TizenRT,dr-venkman/TizenRT,chanijjani/TizenRT,Samsung/TizenRT,jsdosa/TizenRT,junmin-kim/TizenRT,jeongchanKim/TizenRT,sunghan-chang/TizenRT,olegartys/TizenRT,jeongchanKim/TizenRT,sunghan-chang/TizenRT,lokeshbv/TizenRT,heejin-kim/TizenRT,JeonginKim/TizenRT,pillip8282/TizenRT,jeongarmy/TizenRT,sunghan-chang/TizenRT,kimusan/TizenRT,guswns0528/TizenRT,lssgood/TizenRT,sunghan-chang/TizenRT,sangwon03/TizenRT,yashwanth686007/TizenRTOS,jeongarmy/TizenRT,JeongJunSik/TizenRT,JunhwanPark/TizenRT,JeongJunSik/TizenRT,pillip8282/TizenRT,EunBongSong/TizenRT,dr-venkman/TizenRT,JunhwanPark/TizenRT,jsdosa/TizenRT,junmin-kim/TizenRT,pillip8282/TizenRT,guswns0528/TizenRT,JunhwanPark/TizenRT,davidfather/TizenRT,btheosam/TizenRT,EunBongSong/TizenRT,an4967/TizenRT,jeongchanKim/TizenRT,Parkjihooni6186/TizenRT,sunghan-chang/TizenRT,junmin-kim/TizenRT,pillip8282/TizenRT,chanijjani/TizenRT,lokeshbv/TizenRT,JeongJunSik/TizenRT,davidfather/TizenRT