• Joel Becker's avatar
    ocfs2: Dirty the entire first bucket in ocfs2_extend_xattr_bucket() · 92de109a
    Joel Becker authored
    ocfs2_extend_xattr_bucket() takes an extent of buckets and shifts some
    of them down to make room for a new xattr.  It is passed the first bh of
    the first bucket, because that is where we store the number of buckets
    in the extent.
    
    However, future code wants to always dirty the entire bucket when it
    is changed.  So let's pass the entire bucket into this function, skip
    any block reads (we have them), and add the access/dirty logic.  We also
    can skip passing in the target bucket bh - we only need its block
    number.
    Signed-off-by: default avatarJoel Becker <joel.becker@oracle.com>
    Signed-off-by: default avatarMark Fasheh <mfasheh@suse.com>
    92de109a
xattr.c 137 KB