diff options
author | Paulo Alcantara <paulo@paulo.ac> | 2018-11-20 20:16:36 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-02-06 19:31:37 +0300 |
commit | 834adff8b5a711e6e934e75407e88fa4dc123d34 (patch) | |
tree | 4267de22fa8d52d66c9afcb848af7683477ed9a0 /fs/read_write.c | |
parent | fafc8e09d1e92351969ab6d2ad237f3c266fe2d8 (diff) | |
download | linux-834adff8b5a711e6e934e75407e88fa4dc123d34.tar.xz |
cifs: Always resolve hostname before reconnecting
commit 28eb24ff75c5ac130eb326b3b4d0dcecfc0f427d upstream.
In case a hostname resolves to a different IP address (e.g. long
running mounts), make sure to resolve it every time prior to calling
generic_ip_connect() in reconnect.
Suggested-by: Steve French <stfrench@microsoft.com>
Signed-off-by: Paulo Alcantara <palcantara@suse.de>
Signed-off-by: Steve French <stfrench@microsoft.com>
Signed-off-by: Pavel Shilovsky <pshilov@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/read_write.c')
0 files changed, 0 insertions, 0 deletions