• Steve French's avatar
    Do not attempt to do cifs operations reading symlinks with SMB2 · 1b244081
    Steve French authored
    When use of symlinks is enabled (mounting with mfsymlinks option) to
    non-Samba servers, we always tried to use cifs, even when we
    were mounted with SMB2 or SMB3, which causes the server to drop the
    network connection.
    
    This patch separates out the protocol specific operations for cifs from
    the code which recognizes symlinks, and fixes the problem where
    with SMB2 mounts we attempt cifs operations to open and read
    symlinks.  The next patch will add support for SMB2 for opening
    and reading symlinks.  Additional followon patches will address
    the similar problem creating symlinks.
    Signed-off-by: default avatarSteve French <smfrench@gmail.com>
    1b244081
cifsglob.h 49.2 KB