ocfs2: update inode ctime in ocfs2_fileattr_set
authorSu Yue <glass.su@suse.com>
Mon, 18 Mar 2024 11:56:09 +0000 (19:56 +0800)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 26 Apr 2024 04:07:01 +0000 (21:07 -0700)
commitc9abe099865b2d0df66346657b76922d8efd43e4
tree2087920956dfbfdd476e79219bbea3a9498d5501
parent30dd3478c3cd7d01cc5afc4952e885ba4eefb730
ocfs2: update inode ctime in ocfs2_fileattr_set

inode ctime should be updated if ocfs2_fileattr_set is called.

Link: https://lkml.kernel.org/r/20240318115609.3194-1-l@damenly.org
Signed-off-by: Su Yue <glass.su@suse.com>
Reviewed-by: Joseph Qi <joseph.qi@linux.alibaba.com>
Cc: Mark Fasheh <mark@fasheh.com>
Cc: Joel Becker <jlbec@evilplan.org>
Cc: Junxiao Bi <junxiao.bi@oracle.com>
Cc: Changwei Ge <gechangwei@live.cn>
Cc: Gang He <ghe@suse.com>
Cc: Jun Piao <piaojun@huawei.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
fs/ocfs2/ioctl.c