lkml.org 
[lkml]   [2018]   [Sep]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: [PATCH 14/25] ubifs: Add authentication nodes to journal
    Date
    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


    \
     
     \ /
      Last update: 2018-09-02 21:46    [W:2.707 / U:0.200 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site