commit | 13cfb7334eb6fd0fc06da5589aea1e947791f1d6 | [log] [tgz] |
---|---|---|
author | Jeff Layton <jlayton@redhat.com> | Wed Sep 29 19:51:11 2010 -0400 |
committer | Steve French <sfrench@us.ibm.com> | Wed Oct 06 16:12:49 2010 +0000 |
tree | 56d884f6a5dbcf8b259247fdad55c9158bd4d865 | |
parent | 7ffec372458d163492e56e663a1b3a2d7be0a0a2 [diff] |
cifs: have cifsFileInfo hold a reference to a tlink rather than tcon pointer cifsFileInfo needs a pointer to a tcon, but it doesn't currently hold a reference to it. Change it to keep a pointer to a tcon_link instead and hold a reference to it. That will keep the tcon from being freed until the file is closed. Signed-off-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: Steve French <sfrench@us.ibm.com>