RE: [PATCH] [JFFS2] Fix csize integer overflow issue due to truncation

Victor Gallardo
2009-09-20T05:58:05Z

Hi David,

I don't have access to a system till Monday. I'll give it a try then.

Overall the patch looks good to me, except this line.

> +#define tn_overlapped(tn) (!!(((tn)->__csize) & TN_OVERLAP))

Should just be this.

#define tn_overlapped(tn) ((tn)->__csize) & TN_OVERLAP)

Best Regards,

Victor Gallardo