• Joel Becker's avatar
    ocfs2: Explain t_is_new in ocfs2_cp_xattr_cluster(). · 2b656c1d
    Joel Becker authored
    I was unsure of the JOURNAL_ACCESS parameters in
    ocfs2_cp_xattr_cluster().  They're based on the function argument
    't_is_new', but I couldn't quite figure out how t_is_new mapped to
    allocation.  ocfs2_cp_xattr_cluster() actually overwrites the target,
    regardless of t_is_new.
    
    Well, I just figured it out.  So I'm adding a big fat comment for those
    who come after me.  ocfs2_divide_xattr_cluster() has the same behavior.
    Signed-off-by: default avatarJoel Becker <joel.becker@oracle.com>
    Signed-off-by: default avatarMark Fasheh <mfasheh@suse.com>
    2b656c1d
xattr.c 138 KB