summaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authorBernard Xiong <[email protected]>2018-12-03 19:50:37 +0800
committerGitHub <[email protected]>2018-12-03 19:50:37 +0800
commitaafb1650898db65346611463b977fd3ec616e267 (patch)
tree631bdb8a0c865bf0a5dd34c0cff566660b26f0ef /components
parent9757f6b405e2f7e4df829b92ba0cdfd65ef3313d (diff)
parent889afa7b0488a2bc30013619ad457fbc8854fabd (diff)
Merge pull request #2025 from HubertXie/master
Update dfs_elm.c
Diffstat (limited to 'components')
-rw-r--r--components/dfs/filesystems/elmfat/dfs_elm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/dfs/filesystems/elmfat/dfs_elm.c b/components/dfs/filesystems/elmfat/dfs_elm.c
index 290cf7c4bb..582333a714 100644
--- a/components/dfs/filesystems/elmfat/dfs_elm.c
+++ b/components/dfs/filesystems/elmfat/dfs_elm.c
@@ -265,7 +265,7 @@ int dfs_elm_mkfs(rt_device_t dev_id)
/* [IN] Size of the allocation unit */
/* [-] Working buffer */
/* [IN] Size of working buffer */
- result = f_mkfs(logic_nbr, FM_ANY, 0, work, _MAX_SS);
+ result = f_mkfs(logic_nbr, FM_ANY|FM_SFD, 0, work, _MAX_SS);
rt_free(work); work = RT_NULL;
/* check flag status, we need clear the temp driver stored in disk[] */