diff options
author | Ronnie Sahlberg <lsahlber@redhat.com> | 2020-12-14 16:40:20 +1000 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2020-12-14 09:26:30 -0600 |
commit | 387ec58f339b0c45e3767395f11fa8dd3772131e (patch) | |
tree | 808eac5e8e9b9b574f6522c3f3e167b691b6cf87 /fs/cifs/fs_context.h | |
parent | 9ccecae8d1d7131439fb4849f51e614ef7395298 (diff) | |
download | lwn-387ec58f339b0c45e3767395f11fa8dd3772131e.tar.gz lwn-387ec58f339b0c45e3767395f11fa8dd3772131e.zip |
cifs: simplify handling of cifs_sb/ctx->local_nls
Only load/unload local_nls from cifs_sb and just make the ctx
contain a pointer to cifs_sb->ctx.
Signed-off-by: Ronnie Sahlberg <lsahlber@redhat.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/cifs/fs_context.h')
-rw-r--r-- | fs/cifs/fs_context.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/fs_context.h b/fs/cifs/fs_context.h index 1680d0ceed38..2519108eeb29 100644 --- a/fs/cifs/fs_context.h +++ b/fs/cifs/fs_context.h @@ -237,7 +237,7 @@ struct smb3_fs_context { char *prepath; struct sockaddr_storage dstaddr; /* destination address */ struct sockaddr_storage srcaddr; /* allow binding to a local IP */ - struct nls_table *local_nls; + struct nls_table *local_nls; /* This is a copy of the pointer in cifs_sb */ unsigned int echo_interval; /* echo interval in secs */ __u64 snapshot_time; /* needed for timewarp tokens */ __u32 handle_timeout; /* persistent and durable handle timeout in ms */ |