···983983}984984985985/**986986- * clean_an_unclean_leb - read and write a LEB to remove corruption.986986+ * clean_an_unclean_leb - read and write a LEB to remove corruption.987987 * @c: UBIFS file-system description object988988 * @ucleb: unclean LEB information989989 * @sbuf: LEB-sized buffer to use
+1-1
fs/ubifs/sb.c
···247247 mst->total_dirty = cpu_to_le64(tmp64);248248249249 /* The indexing LEB does not contribute to dark space */250250- tmp64 = (c->main_lebs - 1) * c->dark_wm;250250+ tmp64 = ((long long)(c->main_lebs - 1) * c->dark_wm);251251 mst->total_dark = cpu_to_le64(tmp64);252252253253 mst->total_used = cpu_to_le64(UBIFS_INO_NODE_SZ);