diff options
-rw-r--r-- | fs/cifs/connect.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/connect.c b/fs/cifs/connect.c index 94a05a681f84..5eacb89d4a4f 100644 --- a/fs/cifs/connect.c +++ b/fs/cifs/connect.c | |||
@@ -2831,7 +2831,7 @@ try_mount_again: | |||
2831 | 2831 | ||
2832 | remote_path_check: | 2832 | remote_path_check: |
2833 | /* check if a whole path (including prepath) is not remote */ | 2833 | /* check if a whole path (including prepath) is not remote */ |
2834 | if (!rc && cifs_sb->prepathlen && tcon) { | 2834 | if (!rc && tcon) { |
2835 | /* build_path_to_root works only when we have a valid tcon */ | 2835 | /* build_path_to_root works only when we have a valid tcon */ |
2836 | full_path = cifs_build_path_to_root(cifs_sb, tcon); | 2836 | full_path = cifs_build_path_to_root(cifs_sb, tcon); |
2837 | if (full_path == NULL) { | 2837 | if (full_path == NULL) { |