[Bug 1812] New: st_blksize missing in IMFS

bugzilla-daemon at rtems.org bugzilla-daemon at rtems.org
Sat Jun 4 17:40:04 UTC 2011


https://www.rtems.org/bugzilla/show_bug.cgi?id=1812

           Summary: st_blksize missing in IMFS
           Product: RTEMS
           Version: HEAD
          Platform: All
        OS/Version: RTEMS
            Status: NEW
          Severity: normal
          Priority: P3
         Component: filesystem
        AssignedTo: chrisj at rtems.org
        ReportedBy: seb at tmplab.org


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;
 }

-- 
Configure bugmail: https://www.rtems.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the bugs mailing list