cifs: use mod_delayed_work() for &server->reconnect if already queued
authorStefan Metzmacher <metze@samba.org>
Mon, 24 Feb 2020 13:14:59 +0000 (14:14 +0100)
committerSteve French <stfrench@microsoft.com>
Mon, 23 Mar 2020 03:49:09 +0000 (22:49 -0500)
commitb08484d715128abf28b8445e85c5adb14af0a62e
tree7d521162a267aeb58ab8a9209ce3a8c395113c9c
parente2e87519bd72e2a4c7796ab81b0a3edd171374ac
cifs: use mod_delayed_work() for &server->reconnect if already queued

mod_delayed_work() is safer than queue_delayed_work() if there's a
chance that the work is already in the queue.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Pavel Shilovsky <pshilov@microsoft.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/smb2pdu.c