summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeff Layton <jlayton@kernel.org>2023-10-04 20:53:08 +0200
committerChristian Brauner <brauner@kernel.org>2023-10-18 14:08:30 +0200
commit5feb4b4ac4ac16d1b4d7af0857533d9b501d6999 (patch)
tree6a579a92d968ba03b0d8f98bf4ec724eca77ae57
parentmm: convert to new timestamp accessors (diff)
downloadlinux-5feb4b4ac4ac16d1b4d7af0857533d9b501d6999.tar.xz
linux-5feb4b4ac4ac16d1b4d7af0857533d9b501d6999.zip
sunrpc: 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-81-jlayton@kernel.org Signed-off-by: Christian Brauner <brauner@kernel.org>
-rw-r--r--net/sunrpc/rpc_pipe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sunrpc/rpc_pipe.c b/net/sunrpc/rpc_pipe.c
index f420d8457345..dcc2b4f49e77 100644
--- a/net/sunrpc/rpc_pipe.c
+++ b/net/sunrpc/rpc_pipe.c
@@ -472,7 +472,7 @@ rpc_get_inode(struct super_block *sb, umode_t mode)
return NULL;
inode->i_ino = get_next_ino();
inode->i_mode = mode;
- inode->i_atime = inode->i_mtime = inode_set_ctime_current(inode);
+ simple_inode_init_ts(inode);
switch (mode & S_IFMT) {
case S_IFDIR:
inode->i_fop = &simple_dir_operations;