cifs: Extract DFS referral expansion logic to separate function
authorSean Finney <seanius@seanius.net>
Mon, 11 Apr 2011 13:19:30 +0000 (13:19 +0000)
committerSteve French <sfrench@us.ibm.com>
Thu, 19 May 2011 14:10:54 +0000 (14:10 +0000)
commitdd61394586dbd9387fe53b325c6807f61734cf89
tree468fe19f775489e09cdd4dbb28c1dc5428ae7ab6
parent460458ce8ec195a1902f0c742b76880fbd01dd96
cifs: Extract DFS referral expansion logic to separate function

The logic behind the expansion of DFS referrals is now extracted from
cifs_mount into a new static function, expand_dfs_referral.  This will
reduce duplicate code in upcoming commits.

Reviewed-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Sean Finney <seanius@seanius.net>
Signed-off-by: Pavel Shilovsky <piastry@etersoft.ru>
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/connect.c