mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-12 21:57:43 +00:00
20fab0da2f
+ Indicate if witness feature is supported + Indicate if witness is used when dumping tcons + Dumps witness registrations. Example: Witness registrations: Id: 1 Refs: 1 Network name: 'fs.fover.ad'(y) Share name: 'share1'(y) \ Ip address: 192.168.103.200(n) Signed-off-by: Samuel Cabrero <scabrero@suse.de> Reviewed-by: Aurelien Aptel <aaptel@suse.com> Signed-off-by: Steve French <stfrench@microsoft.com>
23 lines
494 B
C
23 lines
494 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/*
|
|
* Witness Service client for CIFS
|
|
*
|
|
* Copyright (c) 2020 Samuel Cabrero <scabrero@suse.de>
|
|
*/
|
|
|
|
#ifndef _CIFS_SWN_H
|
|
#define _CIFS_SWN_H
|
|
|
|
struct cifs_tcon;
|
|
struct sk_buff;
|
|
struct genl_info;
|
|
|
|
extern int cifs_swn_register(struct cifs_tcon *tcon);
|
|
|
|
extern int cifs_swn_unregister(struct cifs_tcon *tcon);
|
|
|
|
extern int cifs_swn_notify(struct sk_buff *skb, struct genl_info *info);
|
|
|
|
extern void cifs_swn_dump(struct seq_file *m);
|
|
|
|
#endif /* _CIFS_SWN_H */
|