mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-11-16 12:34:45 +00:00
2011-06-10 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1812/filesystem * libfs/src/imfs/imfs_stat.c: stat() implementation for IMFS did not set st_blksize field. Set it based upon user configuration.
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
2011-06-10 Joel Sherrill <joel.sherrilL@OARcorp.com>
|
||||
|
||||
PR 1812/filesystem
|
||||
* libfs/src/imfs/imfs_stat.c: stat() implementation for IMFS did not
|
||||
set st_blksize field. Set it based upon user configuration.
|
||||
|
||||
2011-05-27 Bo Hansen <mdboha@gmail.com>
|
||||
|
||||
PR 1776/networking
|
||||
|
||||
@@ -77,5 +77,7 @@ int IMFS_stat(
|
||||
buf->st_mtime = the_jnode->stat_mtime;
|
||||
buf->st_ctime = the_jnode->stat_ctime;
|
||||
|
||||
buf->st_blksize = imfs_rq_memfile_bytes_per_block;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user