summaryrefslogtreecommitdiffstats
path: root/fs/cifs/smb2ops.c
diff options
context:
space:
mode:
authorRonnie Sahlberg <lsahlber@redhat.com>2021-07-13 12:22:59 +1000
committerSteve French <stfrench@microsoft.com>2021-07-14 10:06:33 -0500
commit50630b3f1ada0bf412d3f28e73bac310448d9d6f (patch)
tree9d2fa03b9efba7f24a45742cf2250aff51aa3809 /fs/cifs/smb2ops.c
parent506c1da44fee32ba1d3a70413289ad58c772bba6 (diff)
downloadlinux-50630b3f1ada0bf412d3f28e73bac310448d9d6f.tar.bz2
cifs: Do not use the original cruid when following DFS links for multiuser mounts
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=213565 cruid should only be used for the initial mount and after this we should use the current users credentials. Ignore the original cruid mount argument when creating a new context for a multiuser mount following a DFS link. Fixes: 24e0a1eff9e2 ("cifs: switch to new mount api") Cc: stable@vger.kernel.org # 5.11+ Reported-by: Xiaoli Feng <xifeng@redhat.com> Signed-off-by: Ronnie Sahlberg <lsahlber@redhat.com> Reviewed-by: Paulo Alcantara (SUSE) <pc@cjr.nz> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/cifs/smb2ops.c')
0 files changed, 0 insertions, 0 deletions