swh:1:snp:32555a3fd8878f019c2ebd6c964bc1edcaeff337
Raw File
Tip revision: f443e374ae131c168a065ea1748feac6b2e76613 authored by Linus Torvalds on 20 March 2022, 20:14:17 UTC
Linux 5.17
Tip revision: f443e37
fail.h
/* 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_ */
back to top