Kinsey Moore commented on a discussion on 
bsps/shared/dev/flash/jffs2_flashdev.c: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/735#note_132808

 >      return status;
 >    }
 >  
 > +  /* JFFS2 maximum FS size is one block less than 4GB */
 > +  max_jffs2_size -= instance->super.block_size;
 > +
 > +  /* Enforce maximum JFFS2 filesystem size */
 > +  if (instance->super.flash_size > max_jffs2_size) {
 > +    instance->super.flash_size = max_jffs2_size;
 > +  }

I'll update this to be a hard failure. I noticed some other issues with this 
function when I was updating it and will push with corrections once I've run it 
through tests.

-- 
View it on GitLab: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/735#note_132808
You're receiving this email because of your account on gitlab.rtems.org.


_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to