| Submitter | Andy Whitcroft |
|---|---|
| Date | Oct. 4, 2011, 2:59 p.m. |
| Message ID | <1317740391-16788-2-git-send-email-apw@canonical.com> |
| Download | mbox | patch |
| Permalink | /patch/117645/ |
| State | New |
| Headers | show |
Comments
Patch
diff --git a/fs/cifs/connect.c b/fs/cifs/connect.c index 08a44ca..f4e13d6 100644 --- a/fs/cifs/connect.c +++ b/fs/cifs/connect.c @@ -2512,7 +2512,7 @@ try_mount_again: remote_path_check: /* check if a whole path (including prepath) is not remote */ - if (!rc && cifs_sb->prepathlen && tcon) { + if (!rc && tcon) { /* build_path_to_root works only when we have a valid tcon */ full_path = cifs_build_path_to_root(cifs_sb); if (full_path == NULL) {