mirror of
https://github.com/torvalds/linux.git
synced 2024-11-10 22:21:40 +00:00
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>
This commit is contained in:
parent
cf2766bb7c
commit
5feb4b4ac4
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user