mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-09-22 03:09:16 +08:00
[DFS] remove st_blksize in the struct stat
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user