mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-21 10:59:30 +08: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-06-08 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* score/src/smp.c: Fix typo so this compiles.
|
||||
|
||||
@@ -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