forked from Qortal/Brooklyn
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
469 B
25 lines
469 B
/* SPDX-License-Identifier: GPL-2.0 */ |
|
/* |
|
* Copyright (C) 2021, Oracle. All rights reserved. |
|
*/ |
|
|
|
#ifndef _NET_SUNRPC_FAIL_H_ |
|
#define _NET_SUNRPC_FAIL_H_ |
|
|
|
#include <linux/fault-inject.h> |
|
|
|
#if IS_ENABLED(CONFIG_FAULT_INJECTION) |
|
|
|
struct fail_sunrpc_attr { |
|
struct fault_attr attr; |
|
|
|
bool ignore_client_disconnect; |
|
|
|
bool ignore_server_disconnect; |
|
}; |
|
|
|
extern struct fail_sunrpc_attr fail_sunrpc; |
|
|
|
#endif /* CONFIG_FAULT_INJECTION */ |
|
|
|
#endif /* _NET_SUNRPC_FAIL_H_ */
|
|
|