#1812 closed defect (fixed)

st_blksize missing in IMFS

Reported by: seb Owned by: Chris Johns
Priority: normal Milestone: 4.11
Component: fs Version: 4.11
Severity: normal Keywords:
Cc: joel.sherrill@… Blocked By:
Blocking:

Description

see also https://github.com/milkymist/bugs/issues/17

fix:
--- a/cpukit/libfs/src/imfs/imfs_stat.c
+++ b/cpukit/libfs/src/imfs/imfs_stat.c
@@ -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;

}

Change History (2)

comment:1 Changed on Jun 10, 2011 at 5:24:39 PM by Joel Sherrill

Resolution: fixed
Status: newclosed, joel.sherrill@oarcorp.com

Patch applied to all applicable branches.

Thanks.

comment:2 Changed on Nov 24, 2014 at 6:58:28 PM by Gedare

Version: HEAD4.11

Replace Version=HEAD with Version=4.11 for the tickets with Milestone >= 4.11

Note: See TracTickets for help on using tickets.