aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ceph/inode.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2018-07-13 22:18:38 +0200
committerIlya Dryomov <idryomov@gmail.com>2018-08-02 21:33:19 +0200
commit0ed1e90a09eb0e2863cab43e1ed5c5df89566772 (patch)
treec8ff47546b0ab87c3cfb8ddc27cda86811429115 /fs/ceph/inode.c
parentlibceph: use timespec64 for r_mtime (diff)
downloadlinux-dev-0ed1e90a09eb0e2863cab43e1ed5c5df89566772.tar.xz
linux-dev-0ed1e90a09eb0e2863cab43e1ed5c5df89566772.zip
ceph: use timespec64 for r_stamp
The ceph_mds_request stamp still uses the deprecated timespec structure, this converts it over as well. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Reviewed-by: "Yan, Zheng" <zyan@redhat.com> Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'fs/ceph/inode.c')
-rw-r--r--fs/ceph/inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ceph/inode.c b/fs/ceph/inode.c
index 715a6f2a4613..d62f65f2875d 100644
--- a/fs/ceph/inode.c
+++ b/fs/ceph/inode.c
@@ -2136,7 +2136,7 @@ int __ceph_setattr(struct inode *inode, struct iattr *attr)
req->r_inode_drop = release;
req->r_args.setattr.mask = cpu_to_le32(mask);
req->r_num_caps = 1;
- req->r_stamp = timespec64_to_timespec(attr->ia_ctime);
+ req->r_stamp = attr->ia_ctime;
err = ceph_mdsc_do_request(mdsc, NULL, req);
}
dout("setattr %p result=%d (%s locally, %d remote)\n", inode, err,