diff options
author | Jeff Layton <jlayton@kernel.org> | 2023-10-04 14:52:10 -0400 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2023-10-18 13:26:19 +0200 |
commit | 581a4d0030011367dec1defff3361d982674c294 (patch) | |
tree | 473a2b8abb09ad8382748b2508605b43e3ce3bc2 /fs/coda/file.c | |
parent | c453bdb535341b573755a0359eb391dc8cf42546 (diff) | |
download | linux-581a4d0030011367dec1defff3361d982674c294.tar.gz linux-581a4d0030011367dec1defff3361d982674c294.tar.bz2 linux-581a4d0030011367dec1defff3361d982674c294.zip |
coda: 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-23-jlayton@kernel.org
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'fs/coda/file.c')
-rw-r--r-- | fs/coda/file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/coda/file.c b/fs/coda/file.c index 42346618b4ed..16acc58311ea 100644 --- a/fs/coda/file.c +++ b/fs/coda/file.c @@ -84,7 +84,7 @@ coda_file_write_iter(struct kiocb *iocb, struct iov_iter *to) ret = vfs_iter_write(cfi->cfi_container, to, &iocb->ki_pos, 0); coda_inode->i_size = file_inode(host_file)->i_size; coda_inode->i_blocks = (coda_inode->i_size + 511) >> 9; - coda_inode->i_mtime = inode_set_ctime_current(coda_inode); + inode_set_mtime_to_ts(coda_inode, inode_set_ctime_current(coda_inode)); inode_unlock(coda_inode); file_end_write(host_file); |