• Paulo Alcantara's avatar
    cifs: share dfs connections and supers · a1c0d005
    Paulo Alcantara authored
    When matching DFS superblocks we can't rely on either the server's
    address or tcon's UNC name from mount(2) as the existing servers and
    tcons might be connected to somewhere else.  Instead, check if
    superblock is dfs, and if so, match its original source pathname with
    the new mount's source pathname.
    
    For DFS connections, instead of checking server's address, match its
    referral path as it could be connected to different targets.
    Signed-off-by: default avatarPaulo Alcantara (SUSE) <pc@cjr.nz>
    Signed-off-by: default avatarSteve French <stfrench@microsoft.com>
    a1c0d005
fs_context.c 46.7 KB