aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs/connect.c
diff options
context:
space:
mode:
authorSteve French <sfrench@us.ibm.com>2008-05-15 02:20:02 -0400
committerSteve French <sfrench@us.ibm.com>2008-05-15 02:20:02 -0400
commitc2cf07d591ef7bc25c220249822d9bdf0f44c75c (patch)
tree6ed62b119c839f1ed0b7ec1ad5fdf874cf8a9f5a /fs/cifs/connect.c
parentf9ddcca4cf7d95238beb295484d1de7c0bf490dd (diff)
[CIFS] Finishup DFS code
Fixup GetDFSRefer to prepare for cleanup of SMB response processing Fix build warning in link.c Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/connect.c')
-rw-r--r--fs/cifs/connect.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/cifs/connect.c b/fs/cifs/connect.c
index d5747e30f1c9..c397fcfd9f1a 100644
--- a/fs/cifs/connect.c
+++ b/fs/cifs/connect.c
@@ -1425,7 +1425,6 @@ get_dfs_path(int xid, struct cifsSesInfo *pSesInfo, const char *old_path,
1425{ 1425{
1426 char *temp_unc; 1426 char *temp_unc;
1427 int rc = 0; 1427 int rc = 0;
1428 unsigned char *targetUNCs;
1429 1428
1430 *pnum_referrals = 0; 1429 *pnum_referrals = 0;
1431 *preferrals = NULL; 1430 *preferrals = NULL;
@@ -1448,7 +1447,7 @@ get_dfs_path(int xid, struct cifsSesInfo *pSesInfo, const char *old_path,
1448 kfree(temp_unc); 1447 kfree(temp_unc);
1449 } 1448 }
1450 if (rc == 0) 1449 if (rc == 0)
1451 rc = CIFSGetDFSRefer(xid, pSesInfo, old_path, &targetUNCs, 1450 rc = CIFSGetDFSRefer(xid, pSesInfo, old_path, preferrals,
1452 pnum_referrals, nls_codepage, remap); 1451 pnum_referrals, nls_codepage, remap);
1453 /* BB map targetUNCs to dfs_info3 structures, here or 1452 /* BB map targetUNCs to dfs_info3 structures, here or
1454 in CIFSGetDFSRefer BB */ 1453 in CIFSGetDFSRefer BB */