]> git.proxmox.com Git - mirror_ubuntu-artful-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)
commit4ca2fea6f8277ab381bd08b996d641255b6f7b00
tree41f6e229a7e7c5279f94512e72b088adc30bd66a
parent56199016e8672feb7b903eda003a863d5bf2b8c4
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