cifs: store pointer to master tlink in superblock (try #2)
authorJeff Layton <jlayton@redhat.com>
Thu, 28 Oct 2010 17:33:38 +0000 (13:33 -0400)
committerSteve French <sfrench@us.ibm.com>
Tue, 2 Nov 2010 19:15:09 +0000 (19:15 +0000)
commit413e661c136c52290de1ee19a1b049a4da9dbf51
treecd875b7b3cab4c9df89b360734a2d55d220acd43
parentdf098db12ada832c0232ee1f91eff21a8701889c
cifs: store pointer to master tlink in superblock (try #2)

This is the second version of this patch, the only difference between
it and the first one is that this explicitly makes cifs_sb_master_tlink
a static inline.

Instead of keeping a tag on the master tlink in the tree, just keep a
pointer to the master in the superblock. That eliminates the need for
using the radix tree to look up a tagged entry.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/cifs_fs_sb.h
fs/cifs/connect.c