cifs: Allow DNS resolver key to expire
authorPaulo Alcantara <paulo@paulo.ac>
Wed, 13 Feb 2019 18:09:41 +0000 (16:09 -0200)
committerPavel Shilovsky <pshilov@microsoft.com>
Fri, 15 Feb 2019 00:40:58 +0000 (16:40 -0800)
commitb101af793c8415f298072d06841a278df0368bc3
treefd4ce8f9483f62bc058763f85829deb1b5959f2f
parent70902177e944c79aeb5c88e2092ef329724138fc
cifs: Allow DNS resolver key to expire

This patch introduces a new '--expire' option that allows the user to
set a timeout value for the dns resolver key -- which is typically
useful for hostnames that may get their ip addresses changed under
long running mounts.

The default timeout value is set to 10 minutes.

Signed-off-by: Paulo Alcantara <palcantara@suse.de>
cifs.upcall.c
cifs.upcall.rst.in