-
- Downloads
smb: client: get rid of dfs code dep in namespace.c
Make namespace.c being built without requiring CONFIG_CIFS_DFS_UPCALL=y by moving set_dest_addr() to dfs.c and call it at the beginning of dfs_mount_share() so it can chase the DFS link starting from the correct server in @ctx->dstaddr. Signed-off-by:Paulo Alcantara (SUSE) <pc@manguebit.com> Signed-off-by:
Steve French <stfrench@microsoft.com>
Showing
- fs/smb/client/Makefile 3 additions, 2 deletionsfs/smb/client/Makefile
- fs/smb/client/cifsfs.h 0 additions, 7 deletionsfs/smb/client/cifsfs.h
- fs/smb/client/cifsproto.h 0 additions, 4 deletionsfs/smb/client/cifsproto.h
- fs/smb/client/dfs.c 16 additions, 0 deletionsfs/smb/client/dfs.c
- fs/smb/client/dfs.h 0 additions, 37 deletionsfs/smb/client/dfs.h
- fs/smb/client/inode.c 0 additions, 4 deletionsfs/smb/client/inode.c
- fs/smb/client/namespace.c 38 additions, 18 deletionsfs/smb/client/namespace.c
Loading
Please register or sign in to comment