1
2
3
4
5
6
7
8
9
10
11
12#ifndef OCFS2_SUPER_H
13#define OCFS2_SUPER_H
14
15__printf(3, 4)
16int __ocfs2_error(struct super_block *sb, const char *function,
17 const char *fmt, ...);
18
19#define ocfs2_error(sb, fmt, ...) \
20 __ocfs2_error(sb, __PRETTY_FUNCTION__, fmt, ##__VA_ARGS__)
21
22__printf(3, 4)
23void __ocfs2_abort(struct super_block *sb, const char *function,
24 const char *fmt, ...);
25
26#define ocfs2_abort(sb, fmt, ...) \
27 __ocfs2_abort(sb, __PRETTY_FUNCTION__, fmt, ##__VA_ARGS__)
28
29
30
31
32
33void ocfs2_block_signals(sigset_t *oldset);
34void ocfs2_unblock_signals(sigset_t *oldset);
35
36#endif
37