Am Mittwoch, 29. August 2018, 16:38:34 CEST schrieb Sascha Hauer: > I assumed that make_reservation would align len anyway. I can't find the > place that led me to that assumption anymore and even if this is true > it's probably safer to just stick to the original len for the > non-authenticated case, so I'll change this and other places to use > the non aligned len. > > BTW could you have a look at ubifs_jnl_change_xattr()? Unlike other > function in this file it explicitly calls make_reservation() with the > length of the last node aligned. Do you have an idea why? Well, this is not the only call site. Other call sites do so implicitly since most UBIFS nodes sizes are aligned to 8. But yes, there are some inconsistencies which need a cleanup. I've scheduled that for the upcoming week. Thanks, //richard ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/