[RTEMS Project] #4537: mutex is not initilaized in jffs2_new_inode

RTEMS trac trac at rtems.org
Thu Oct 28 14:45:13 UTC 2021


#4537: mutex is not initilaized in jffs2_new_inode
---------------------------+----------------------
 Reporter:  chenjin_zhong  |       Owner:  (none)
     Type:  defect         |      Status:  closed
 Priority:  normal         |   Milestone:  5.1
Component:  fs/jaffs2      |     Version:  5
 Severity:  normal         |  Resolution:  invalid
 Keywords:                 |  Blocked By:
 Blocking:                 |
---------------------------+----------------------
Changes (by Sebastian Huber):

 * status:  reopened => closed
 * resolution:   => invalid


Comment:

 Yes, the f->sem is an empty structure, it is not initialized, it is not
 used, locked or whatever in RTEMS. This is intentional and not a bug. I
 repeat: **The RTEMS port of JFFS2 does not use a file system internal
 locking. There is a global lock for each JFFS2 instance.**

--
Ticket URL: <http://devel.rtems.org/ticket/4537#comment:6>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list