summaryrefslogtreecommitdiffstats
path: root/fs/cifs/inode.c
diff options
context:
space:
mode:
authorRonnie Sahlberg <lsahlber@redhat.com>2020-11-10 12:34:48 +1000
committerSteve French <stfrench@microsoft.com>2020-12-14 09:16:23 -0600
commitaf1e40d9ac8417839d955ca1ac42f754588937a9 (patch)
treeabf76b4093c696a79e8943eb7c9bf806f3529981 /fs/cifs/inode.c
parent8401e93678933a140cebfa2e7122c1a6b687c355 (diff)
downloadlinux-af1e40d9ac8417839d955ca1ac42f754588937a9.tar.bz2
cifs: remove actimeo from cifs_sb
Can now be accessed via the ctx Signed-off-by: Ronnie Sahlberg <lsahlber@redhat.com> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/cifs/inode.c')
-rw-r--r--fs/cifs/inode.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/cifs/inode.c b/fs/cifs/inode.c
index bbdce32e978f..240d79e3aa14 100644
--- a/fs/cifs/inode.c
+++ b/fs/cifs/inode.c
@@ -2198,11 +2198,11 @@ cifs_inode_needs_reval(struct inode *inode)
if (!lookupCacheEnabled)
return true;
- if (!cifs_sb->actimeo)
+ if (!cifs_sb->ctx->actimeo)
return true;
if (!time_in_range(jiffies, cifs_i->time,
- cifs_i->time + cifs_sb->actimeo))
+ cifs_i->time + cifs_sb->ctx->actimeo))
return true;
/* hardlinked files w/ noserverino get "special" treatment */