changes since v2: * rebased against Steve's for-next * mark IPC tcon for reconnection like other tcons * dump IPC tcon in /proc DebugData * pass IPC tcon instead of NULL to smb_init() in CIFSGetDFSRefer() so that it reconnect it if needed passes make C=1, checkpatch.pl, and reconnection works in these cases (domain-based DFS with Windows Server 2016): | test | v1.0 | v3.0 | |---------------------------+------+------| | mount root, reco, cd link | ok | ok | | mount link, reco, ls | ok | ok | changes since v1: * squashed definition change of SERVER_NAME_LENGTH in first patch * ipc tcon no longer added the the session tcon list * ipc tcon no longer protected by spinlock * decrement tcon refcount only if it was incremented earlier (ie not an ipc tcon) in smb2_get_dfs_refer() Aurelien Aptel (3): CIFS: make IPC a regular tcon CIFS: use tcon_ipc instead of use_ipc parameter of SMB2_ioctl CIFS: dump IPC tcon in debug proc file fs/cifs/cifs_debug.c | 61 ++++++++++++--------- fs/cifs/cifsglob.h | 14 ++--- fs/cifs/cifssmb.c | 7 +-- fs/cifs/connect.c | 150 ++++++++++++++++++++++++++++++++++++++------------- fs/cifs/inode.c | 2 +- fs/cifs/smb2file.c | 2 +- fs/cifs/smb2ops.c | 53 ++++++++---------- fs/cifs/smb2pdu.c | 40 ++++---------- fs/cifs/smb2proto.h | 3 +- 9 files changed, 193 insertions(+), 139 deletions(-) -- 2.12.3 -- To unsubscribe from this list: send the line "unsubscribe linux-cifs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html