Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ibmasm: 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-6-jlayton@kernel.org
Signed-off-by: Christian Brauner <brauner@kernel.org>

authored by

Jeff Layton and committed by
Christian Brauner
4a2ef475 7e6481ce

+1 -1
+1 -1
drivers/misc/ibmasm/ibmasmfs.c
··· 139 139 if (ret) { 140 140 ret->i_ino = get_next_ino(); 141 141 ret->i_mode = mode; 142 - ret->i_atime = ret->i_mtime = inode_set_ctime_current(ret); 142 + simple_inode_init_ts(ret); 143 143 } 144 144 return ret; 145 145 }