diff options
author | Steve French <sfrench@us.ibm.com> | 2008-11-21 14:24:12 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-12-05 10:55:36 -0800 |
commit | 13859b1be3243f98d2c00d349dd0f85f24219b0e (patch) | |
tree | 09bf69d406722aa4feb838b5c295ebb1e57ae22b /fs/cifs/cifs_debug.c | |
parent | c3a37e7112eb872a5adfdfdebdc602d7a0a1ed11 (diff) |
cifs: Fix check for tcon seal setting and fix oops on failed mount from earlier patch
commit ab3f992983062440b4f37c666dac66d987902d91 upstream
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>
Cc: Suresh Jayaraman <sjayaraman@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'fs/cifs/cifs_debug.c')
0 files changed, 0 insertions, 0 deletions