commit | ab3f992983062440b4f37c666dac66d987902d91 | [log] [tgz] |
---|---|---|
author | Steve French <sfrench@us.ibm.com> | Mon Nov 17 16:03:00 2008 +0000 |
committer | Steve French <sfrench@us.ibm.com> | Mon Nov 17 16:03:00 2008 +0000 |
tree | 9333cd574f0a1ead688347b148ae36fdcd384440 | |
parent | c2b3382cd4d6c6adef1347e81f20e16c93a39feb [diff] |
[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>