]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbe21feba08d6a16d4559143de03d461566d2d794
tree7d521162a267aeb58ab8a9209ce3a8c395113c9c
parent4ec7fa8c9258f178e5aae8a4ca9971dc304c2080
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