cifs: fix mount option display for sec=krb5i
authorPetr Pavlu <petr.pavlu@suse.com>
Mon, 10 Feb 2020 09:38:14 +0000 (10:38 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 19 Feb 2020 18:53:08 +0000 (19:53 +0100)
commit51a610a5c88d96a1ba9340e5ad86b277181df5b9
tree0f0ff6c6774b59bd83498ddaa45c1cd3158a4861
parentdb5a68ffad2a6ab752e9f5ef0637ea0cea468e80
cifs: fix mount option display for sec=krb5i

commit 3f6166aaf19902f2f3124b5426405e292e8974dd upstream.

Fix display for sec=krb5i which was wrongly interleaved by cruid,
resulting in string "sec=krb5,cruid=<...>i" instead of
"sec=krb5i,cruid=<...>".

Fixes: 96281b9e46eb ("smb3: for kerberos mounts display the credential uid used")
Signed-off-by: Petr Pavlu <petr.pavlu@suse.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/cifs/cifsfs.c