summaryrefslogtreecommitdiff
path: root/components/dfs/src
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 /components/dfs/src
parent1ac6bc6c889f5f6760893a7aab33873ebe9dfe69 (diff)
[DFS] remove st_blksize in the struct stat
Diffstat (limited to 'components/dfs/src')
-rw-r--r--components/dfs/src/dfs_file.c1
-rw-r--r--components/dfs/src/dfs_posix.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/components/dfs/src/dfs_file.c b/components/dfs/src/dfs_file.c
index aebe2996c6..752933b66f 100644
--- a/components/dfs/src/dfs_file.c
+++ b/components/dfs/src/dfs_file.c
@@ -392,7 +392,6 @@ int dfs_file_stat(const char *path, struct stat *buf)
buf->st_size = 0;
buf->st_mtime = 0;
- buf->st_blksize = 512;
/* release full path */
rt_free(fullpath);
diff --git a/components/dfs/src/dfs_posix.c b/components/dfs/src/dfs_posix.c
index c379d5c969..52a9139d80 100644
--- a/components/dfs/src/dfs_posix.c
+++ b/components/dfs/src/dfs_posix.c
@@ -368,7 +368,6 @@ int fstat(int fildes, struct stat *buf)
buf->st_size = d->size;
buf->st_mtime = 0;
- buf->st_blksize = 512;
fd_put(d);