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)
commitffdeec7aa41aa61ca4ee68fddf4669df9ce661d1
tree56563149e838d74e2d6b4bf7b4070827274005e2
parent34f55d0b3a0a39c95134c0c89173893b846d4c80
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