diff options
Diffstat (limited to 'fs/cifs/connect.c')
-rw-r--r-- | fs/cifs/connect.c | 3 |
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 */ |