[RTEMS Project] #3332: JFFS2 returns a stat directory size as 0

RTEMS trac trac at rtems.org
Mon Mar 12 22:43:31 UTC 2018


#3332: JFFS2 returns a stat directory size as 0
--------------------------+--------------------
  Reporter:  Chris Johns  |      Owner:  (none)
      Type:  defect       |     Status:  new
  Priority:  normal       |  Milestone:  4.11.4
 Component:  fs           |    Version:  4.11
  Severity:  normal       |   Keywords:
Blocked By:               |   Blocking:
--------------------------+--------------------
 A stat of a directory on JFFS2 returns a size of 0. The IMFS and RFS
 return a non-zero size.

 Returning `0` in `st_size` for a directory `stat` call breaks `scandir`.

--
Ticket URL: <http://devel.rtems.org/ticket/3332>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list