diff options
author | Jeff Layton <jlayton@kernel.org> | 2023-10-04 14:52:09 -0400 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2023-10-18 13:26:19 +0200 |
commit | c453bdb535341b573755a0359eb391dc8cf42546 (patch) | |
tree | c40d3eebef478976fc9a6aa0844f87fe501671c9 /fs/ceph/file.c | |
parent | b1c38a1338c90597c7af66985a9e31152ae8cfd3 (diff) |
ceph: convert to new timestamp accessors
Convert to using the new inode timestamp accessor functions.
Signed-off-by: Jeff Layton <jlayton@kernel.org>
Link: https://lore.kernel.org/r/20231004185347.80880-22-jlayton@kernel.org
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'fs/ceph/file.c')
-rw-r--r-- | fs/ceph/file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ceph/file.c b/fs/ceph/file.c index b1da02f5dbe3..b96d4e74ae99 100644 --- a/fs/ceph/file.c +++ b/fs/ceph/file.c @@ -2489,7 +2489,7 @@ static int ceph_zero_partial_object(struct inode *inode, goto out; } - req->r_mtime = inode->i_mtime; + req->r_mtime = inode_get_mtime(inode); ceph_osdc_start_request(&fsc->client->osdc, req); ret = ceph_osdc_wait_request(&fsc->client->osdc, req); if (ret == -ENOENT) |