Skip to content
Commit 13cfb733 authored by Jeff Layton's avatar Jeff Layton Committed by Steve French
Browse files

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: default avatarJeff Layton <jlayton@redhat.com>
Signed-off-by: default avatarSteve French <sfrench@us.ibm.com>
parent 7ffec372
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment