• Tao Ma's avatar
    ocfs2/xattr: Always updating ctime during xattr set. · 4b3f6209
    Tao Ma authored
    In xattr set, we should always update ctime if the operation goes
    sucessfully. The old one mistakenly put it in ocfs2_xattr_set_entry
    which is only called when we set xattr in inode or xattr block. The
    side benefit is that it resolve the bug 1052 since in that scenario,
    ocfs2_calc_xattr_set_need only calc out the xattr set credits while
    ocfs2_xattr_set_entry update the inode also which isn't concerned with
    the process of xattr set.
    Signed-off-by: default avatarTao Ma <tao.ma@oracle.com>
    Signed-off-by: default avatarMark Fasheh <mfasheh@suse.com>
    4b3f6209
xattr.c 140 KB