On Mon, Jan 06, 2014 at 07:06:54PM +0530, Kamlakant Patel wrote: > Creating a large file on a JFFS2 partition sometimes crashes with this call > trace: [...] > > This crash is caused because the 'positions' is declared as an array of signed > short. The value of position is in the range 0..65535, and will be converted > to a negative number when the position is greater than 32767 and causes a > corruption and crash. Changing the definition to 'unsigned short' fixes this > issue > > Signed-off-by: Jayachandran C <jchan...@broadcom.com> > Signed-off-by: Kamlakant Patel <kamlakant.pa...@broadcom.com>
Pushed both patches to l2-mtd.git, and tagged them for -stable. Let me know if you object. Thanks, Brian -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/