swh:1:snp:77163734605b0ec556b01d897b7bb4a7e30d46b6
Raw File
Tip revision: 094226ad94f471a9f19e8f8e7140a09c2625abaa authored by Linus Torvalds on 13 November 2022, 21:12:55 UTC
Linux 6.1-rc5
Tip revision: 094226a
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;
	bool			ignore_cache_wait;
};

extern struct fail_sunrpc_attr fail_sunrpc;

#endif /* CONFIG_FAULT_INJECTION */

#endif /* _NET_SUNRPC_FAIL_H_ */
back to top