cifs: add refcounted and timestamped container for holding tcons
commit7ffec372458d163492e56e663a1b3a2d7be0a0a2
authorJeff Layton <jlayton@redhat.com>
Wed, 29 Sep 2010 23:51:11 +0000 (29 19:51 -0400)
committerSteve French <sfrench@us.ibm.com>
Wed, 6 Oct 2010 16:12:44 +0000 (6 16:12 +0000)
treee404e3d1000ff41e9b27d0ecb4d6a47187e110d7
parentf3983c2133e9bea9c8b4f690737d15e3e9b02491
cifs: add refcounted and timestamped container for holding tcons

Eventually, we'll need to track the use of tcons on a per-sb basis, so that
we know when it's ok to tear them down. Begin this conversion by adding a
new "tcon_link" struct and accessors that get it. For now, the core data
structures are untouched -- cifs_sb still just points to a single tcon and
the pointers are just cast to deal with the accessor functions. A later
patch will flesh this out.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/cifs_dfs_ref.c
fs/cifs/cifsacl.c
fs/cifs/cifsglob.h
fs/cifs/dir.c
fs/cifs/file.c
fs/cifs/inode.c
fs/cifs/link.c
fs/cifs/readdir.c
fs/cifs/xattr.c