From: Jeff Layton Date: Mon, 20 Sep 2010 23:01:33 +0000 (-0700) Subject: cifs: add function to get a tcon from cifs_sb X-Git-Tag: v2.6.37-rc1~158^2~22^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a6e8a8455c94565c53e1a1756d2ab9d9e3a902b8;p=pandora-kernel.git cifs: add function to get a tcon from cifs_sb When we convert cifs to do multiple sessions per mount, we'll need more than one tcon per superblock. At that point "cifs_sb->tcon" will make no sense. Add a new accessor function that gets a tcon given a cifs_sb. For now, it just returns cifs_sb->tcon. Later it'll do more. Signed-off-by: Jeff Layton Signed-off-by: Steve French --- Reading git-diff-tree failed