diff options
author | Steve French <sfrench@us.ibm.com> | 2008-11-17 17:03:00 +0100 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2008-11-17 17:03:00 +0100 |
commit | ab3f992983062440b4f37c666dac66d987902d91 (patch) | |
tree | 9333cd574f0a1ead688347b148ae36fdcd384440 /fs/cifs/cifssmb.c | |
parent | [CIFS] Fix build break (diff) | |
download | linux-ab3f992983062440b4f37c666dac66d987902d91.tar.xz linux-ab3f992983062440b4f37c666dac66d987902d91.zip |
[CIFS] Fix check for tcon seal setting and fix oops on failed mount from earlier patch
set tcon->ses earlier
If the inital tree connect fails, we'll end up calling cifs_put_smb_ses
with a NULL pointer. Fix it by setting the tcon->ses earlier.
Acked-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions