[CIFS] Fix check for tcon seal setting and fix oops on failed mount from earlier...
authorSteve French <sfrench@us.ibm.com>
Mon, 17 Nov 2008 16:03:00 +0000 (16:03 +0000)
committerSteve French <sfrench@us.ibm.com>
Mon, 17 Nov 2008 16:03:00 +0000 (16:03 +0000)
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>

No differences found