diff options
author | Jeff Layton <jlayton@kernel.org> | 2023-10-04 14:52:37 -0400 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2023-10-18 14:08:24 +0200 |
commit | 11fec9b9fb04fd1b3330a3b91ab9dcfa81ad5ad3 (patch) | |
tree | c1dafcef904e5305807f9e60c1ce6bf60343af31 /fs/nfsd/vfs.c | |
parent | 41d581a9faefe9121e1f52da5bdbf83476e9497e (diff) | |
download | linux-stable-11fec9b9fb04fd1b3330a3b91ab9dcfa81ad5ad3.tar.gz linux-stable-11fec9b9fb04fd1b3330a3b91ab9dcfa81ad5ad3.tar.bz2 linux-stable-11fec9b9fb04fd1b3330a3b91ab9dcfa81ad5ad3.zip |
nfsd: 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-50-jlayton@kernel.org
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'fs/nfsd/vfs.c')
-rw-r--r-- | fs/nfsd/vfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfsd/vfs.c b/fs/nfsd/vfs.c index 48260cf68fde..0144648c3e4d 100644 --- a/fs/nfsd/vfs.c +++ b/fs/nfsd/vfs.c @@ -520,7 +520,7 @@ nfsd_setattr(struct svc_rqst *rqstp, struct svc_fh *fhp, nfsd_sanitize_attrs(inode, iap); - if (check_guard && guardtime != inode_get_ctime(inode).tv_sec) + if (check_guard && guardtime != inode_get_ctime_sec(inode)) return nfserr_notsync; /* |