From: Tao Ma Date: Thu, 4 Dec 2008 22:20:55 +0000 (+0800) Subject: ocfs2/xattr: Always updating ctime during xattr set. X-Git-Tag: v2.6.29-rc1~505^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4b3f6209bf9eec46fe5ebb168718fef5c443c157;p=pandora-kernel.git ocfs2/xattr: Always updating ctime during xattr set. 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: Tao Ma Signed-off-by: Mark Fasheh --- Reading git-diff-tree failed