]> git.baikalelectronics.ru Git - kernel.git/commit
cifs: Set witness notification handler for messages from userspace daemon
authorSamuel Cabrero <scabrero@suse.de>
Mon, 30 Nov 2020 18:02:52 +0000 (19:02 +0100)
committerSteve French <stfrench@microsoft.com>
Mon, 14 Dec 2020 15:16:22 +0000 (09:16 -0600)
commitf35151bf21264c5a1f974271eb078a1ca29e9705
tree7a5bb9d692c7a2a55db42200268fc0d7859e73fd
parent4b41d2cdab6a73ae3e36e3c25b5b958070173e87
cifs: Set witness notification handler for messages from userspace daemon

+ Set a handler for the witness notification messages received from the
  userspace daemon.

+ Handle the resource state change notification. When the resource
  becomes unavailable or available set the tcp status to
  CifsNeedReconnect for all channels.

Signed-off-by: Samuel Cabrero <scabrero@suse.de>
Reviewed-by: Aurelien Aptel <aaptel@suse.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/cifs_swn.c
fs/cifs/cifs_swn.h
fs/cifs/netlink.c
include/uapi/linux/cifs/cifs_netlink.h