[CIFS] relinquish fscache cookie before freeing CIFSTconInfo
authorSteve French <sfrench@us.ibm.com>
Fri, 23 Jul 2010 20:37:53 +0000 (20:37 +0000)
committerSteve French <sfrench@us.ibm.com>
Mon, 2 Aug 2010 12:40:39 +0000 (12:40 +0000)
commit9f841593ff65d2f801c7f80c4ed0955d30103f50
tree01fcebaf639b556df3fc9b42149890ba8c12f9ce
parent3e4b3e1f68c10510ec8d3076cffc5729b88f8de6
[CIFS] relinquish fscache cookie before freeing CIFSTconInfo

Doh, fix a use after free bug.

Signed-off-by: Suresh Jayaraman <sjayaraman@suse.de>
Reviewed-and-Tested-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/connect.c