]> git.karo-electronics.de Git - linux-beck.git/blobdiff - fs/cifs/connect.c
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/roland...
[linux-beck.git] / fs / cifs / connect.c
index 387b91ae74002cadb4e38de77b9cf5c5bb482223..cc1a8604a790b46767e066a59ef897f314144163 100644 (file)
@@ -2833,7 +2833,7 @@ remote_path_check:
        /* check if a whole path (including prepath) is not remote */
        if (!rc && cifs_sb->prepathlen && tcon) {
                /* build_path_to_root works only when we have a valid tcon */
-               full_path = cifs_build_path_to_root(cifs_sb);
+               full_path = cifs_build_path_to_root(cifs_sb, tcon);
                if (full_path == NULL) {
                        rc = -ENOMEM;
                        goto mount_fail_check;