1 /* SPDX-License-Identifier: GPL-2.0-or-later */
7 * Copyright (C) 2002, 2004 Oracle. All rights reserved.
14 int __ocfs2_error(struct super_block *sb, const char *function,
15 const char *fmt, ...);
17 #define ocfs2_error(sb, fmt, ...) \
18 __ocfs2_error(sb, __PRETTY_FUNCTION__, fmt, ##__VA_ARGS__)
21 void __ocfs2_abort(struct super_block *sb, const char *function,
22 const char *fmt, ...);
24 #define ocfs2_abort(sb, fmt, ...) \
25 __ocfs2_abort(sb, __PRETTY_FUNCTION__, fmt, ##__VA_ARGS__)
28 * Void signal blockers, because in-kernel sigprocmask() only fails
29 * when SIG_* is wrong.
31 void ocfs2_block_signals(sigset_t *oldset);
32 void ocfs2_unblock_signals(sigset_t *oldset);
34 #endif /* OCFS2_SUPER_H */