summaryrefslogtreecommitdiff
path: root/bsp
diff options
context:
space:
mode:
authorBernard Xiong <[email protected]>2015-10-01 06:46:52 +0000
committerBernard Xiong <[email protected]>2015-10-01 06:46:52 +0000
commitd2ec1f3eaac98e693414e46fe236edf140c5e6f0 (patch)
tree2bc86d86ed4345bb769cd5078543874eca504d2c /bsp
parent1ac6bc6c889f5f6760893a7aab33873ebe9dfe69 (diff)
[DFS] remove st_blksize in the struct stat
Diffstat (limited to 'bsp')
-rw-r--r--bsp/efm32/copy_this_file_dfs_elm.c1
-rw-r--r--bsp/simulator/drivers/dfs_win32.c2
2 files changed, 0 insertions, 3 deletions
diff --git a/bsp/efm32/copy_this_file_dfs_elm.c b/bsp/efm32/copy_this_file_dfs_elm.c
index eea9ff7e6d..2f648750c9 100644
--- a/bsp/efm32/copy_this_file_dfs_elm.c
+++ b/bsp/efm32/copy_this_file_dfs_elm.c
@@ -641,7 +641,6 @@ int dfs_elm_stat(struct dfs_filesystem *fs, const char *path, struct stat *st)
st->st_size = file_info.fsize;
st->st_mtime = file_info.ftime;
- st->st_blksize = 512;
}
#if _USE_LFN
diff --git a/bsp/simulator/drivers/dfs_win32.c b/bsp/simulator/drivers/dfs_win32.c
index 8d6e7b0305..a0ebcf5e6e 100644
--- a/bsp/simulator/drivers/dfs_win32.c
+++ b/bsp/simulator/drivers/dfs_win32.c
@@ -505,8 +505,6 @@ static int dfs_win32_stat(struct dfs_filesystem *fs, const char *path, struct st
st->st_mtime = time_tmp.QuadPart;
}
- st->st_blksize = 0;
-
FindClose(hFind);
return 0;