summaryrefslogtreecommitdiffstats
path: root/fs/afs/write.c
diff options
context:
space:
mode:
authorJeff Layton <jlayton@kernel.org>2023-10-04 20:52:03 +0200
committerChristian Brauner <brauner@kernel.org>2023-10-18 13:26:18 +0200
commit562ce1f7547c083ee44b26796d771361a8b2ead6 (patch)
tree28f0c195e837984a52bd4cc9f9d1fd40289a3f68 /fs/afs/write.c
parentaffs: convert to new timestamp accessors (diff)
downloadlinux-562ce1f7547c083ee44b26796d771361a8b2ead6.tar.xz
linux-562ce1f7547c083ee44b26796d771361a8b2ead6.zip
afs: 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-16-jlayton@kernel.org Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'fs/afs/write.c')
-rw-r--r--fs/afs/write.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/afs/write.c b/fs/afs/write.c
index e1c45341719b..4a168781936b 100644
--- a/fs/afs/write.c
+++ b/fs/afs/write.c
@@ -424,7 +424,7 @@ try_next_key:
op->store.write_iter = iter;
op->store.i_size = max(pos + size, vnode->netfs.remote_i_size);
- op->mtime = vnode->netfs.inode.i_mtime;
+ op->mtime = inode_get_mtime(&vnode->netfs.inode);
afs_wait_for_operation(op);