projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf2766b
)
sunrpc: convert to new timestamp accessors
author
Jeff Layton
<jlayton@kernel.org>
Wed, 4 Oct 2023 18:53:08 +0000
(14:53 -0400)
committer
Christian Brauner
<brauner@kernel.org>
Wed, 18 Oct 2023 12:08:30 +0000
(14:08 +0200)
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>
net/sunrpc/rpc_pipe.c
patch
|
blob
|
history
diff --git
a/net/sunrpc/rpc_pipe.c
b/net/sunrpc/rpc_pipe.c
index f420d84573451375683e969eb198bc30bb840a74..dcc2b4f49e7760bb863cc5d1dbb020c157690f3a 100644
(file)
--- 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;