]> git.baikalelectronics.ru Git - kernel.git/commit
ceph: always update atime/mtime/ctime for new inode
authorYan, Zheng <zyan@redhat.com>
Mon, 26 Mar 2018 08:46:39 +0000 (16:46 +0800)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 16 Apr 2018 07:38:40 +0000 (09:38 +0200)
commitd44582b099c4ec6c89d1a154ee33671cda5d8d11
tree56563149e838d74e2d6b4bf7b4070827274005e2
parent4e8178f358698be4aa57260828b89776fd1f74cf
ceph: always update atime/mtime/ctime for new inode

For new inode, atime/mtime/ctime are uninitialized.  Don't compare
against them.

Cc: stable@kernel.org
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
fs/ceph/inode.c