diff options
author | Jeff Layton <jlayton@kernel.org> | 2023-10-04 14:53:08 -0400 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2023-10-18 14:08:30 +0200 |
commit | 5feb4b4ac4ac16d1b4d7af0857533d9b501d6999 (patch) | |
tree | 6a579a92d968ba03b0d8f98bf4ec724eca77ae57 /net/sunrpc | |
parent | cf2766bb7c25baf38b1cda3360bc531ad79c33e7 (diff) | |
download | linux-stable-5feb4b4ac4ac16d1b4d7af0857533d9b501d6999.tar.gz linux-stable-5feb4b4ac4ac16d1b4d7af0857533d9b501d6999.tar.bz2 linux-stable-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>
Diffstat (limited to 'net/sunrpc')
-rw-r--r-- | net/sunrpc/rpc_pipe.c | 2 |
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; |