From: Jeff Layton Date: Tue, 7 Dec 2010 07:10:35 +0000 (-0500) Subject: cifs: allow calling cifs_build_path_to_root on incomplete cifs_sb X-Git-Tag: v2.6.37-rc6~35^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7d161b7f41e24203b54b0f18ae0d26c18a6c6fab;p=pandora-kernel.git cifs: allow calling cifs_build_path_to_root on incomplete cifs_sb It's possible that cifs_mount will call cifs_build_path_to_root on a newly instantiated cifs_sb. In that case, it's likely that the master_tlink pointer has not yet been instantiated. Fix this by having cifs_build_path_to_root take a cifsTconInfo pointer as well, and have the caller pass that in. Reported-and-Tested-by: Robbert Kouprie Signed-off-by: Jeff Layton Signed-off-by: Steve French --- Reading git-diff-tree failed