[DFS] remove st_blksize in the struct stat

This commit is contained in:
Bernard Xiong
2015-10-01 06:46:52 +00:00
parent 1ac6bc6c88
commit d2ec1f3eaa
13 changed files with 5 additions and 19 deletions
-1
View File
@@ -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);
-1
View File
@@ -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);