[linux-cifs-client] [PATCH 01/11] cifs: track local_nls in volume info
Steve French
smfrench at gmail.com
Sun Apr 25 13:52:46 MDT 2010
On Sat, Apr 24, 2010 at 6:57 AM, Jeff Layton <jlayton at redhat.com> wrote:
> Add a local_nls field to the smb_vol struct and keep a pointer to the
> local_nls in it.
>
> Signed-off-by: Jeff Layton <jlayton at redhat.com>
> ---
> fs/cifs/connect.c | 11 ++++++-----
> 1 files changed, 6 insertions(+), 5 deletions(-)
>
> diff --git a/fs/cifs/connect.c b/fs/cifs/connect.c
> index 58a2109..eb85dd8 100644
> --- a/fs/cifs/connect.c
> +++ b/fs/cifs/connect.c
> @@ -102,6 +102,7 @@ struct smb_vol {
> bool sockopt_tcp_nodelay:1;
> unsigned short int port;
> char *prepath;
> + struct nls_table *local_nls;
> };
If we do this here, should we take it out of the cifs_sb?
If two volumes mounted to the same cifs_sb - last nls wins?
--
Thanks,
Steve
More information about the linux-cifs-client
mailing list