• T
    ocfs2/xattr: Always updating ctime during xattr set. · 4b3f6209
    Tao Ma 提交于
    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: NTao Ma <tao.ma@oracle.com>
    Signed-off-by: NMark Fasheh <mfasheh@suse.com>
    4b3f6209
xattr.c 139.5 KB