]> git.baikalelectronics.ru Git - kernel.git/commit
ceph: unify inode i_ctime update
authorYan, Zheng <zyan@redhat.com>
Thu, 1 Jun 2017 09:08:00 +0000 (17:08 +0800)
committerIlya Dryomov <idryomov@gmail.com>
Wed, 14 Jun 2017 17:37:23 +0000 (19:37 +0200)
commitfa089486737c98b72422ecc3e5acb3d9e240f51a
tree41f6e229a7e7c5279f94512e72b088adc30bd66a
parent74e0c435311d987dfef761f5ca276b5dd83e1b71
ceph: unify inode i_ctime update

Current __ceph_setattr() can set inode's i_ctime to current_time(),
req->r_stamp or attr->ia_ctime. These time stamps may have minor
differences. It may cause potential problem.

Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
fs/ceph/acl.c
fs/ceph/inode.c