forked from Ninals-GitHub/Learning-Ext2-Filesystem
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathme2fs_util.h
54 lines (38 loc) · 1.38 KB
/
me2fs_util.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
/********************************************************************************
File : me2fs_util.h
Description : Defines for my ext2 filesystem utilities
********************************************************************************/
#ifndef __ME2FS_UTIL_H__
#define __ME2FS_UTIL_H__
/*
=================================================================================
Prototype Statement
=================================================================================
*/
/*
=================================================================================
DEFINES
=================================================================================
*/
#define ME2FS_DEBUG
#ifdef ME2FS_DEBUG
#define DBGPRINT( msg, args... ) do { \
printk( KERN_INFO msg, ##args ); \
} while( 0 )
#else
#define DBGPRINT( msg, args... ) do { } while( 0 )
#endif
#define ME2FS_ERROR( msg, args... ) do { \
printk( KERN_ERR msg, ##args ); \
} while( 0 )
/*
==================================================================================
Management
==================================================================================
*/
/*
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
< Open Functions >
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
*/
#endif // __ME2FS_UTIL_H__