提交 d8fd66aa 编写于 作者: O Olaf Hering 提交者: Linus Torvalds

jbd.h: hide kernel only code

Move a few kernel-only things into __KERNEL__.
Signed-off-by: NOlaf Hering <olaf@aepfle.de>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 e1d7ae24
......@@ -33,7 +33,6 @@
#include <linux/lockdep.h>
#include <asm/semaphore.h>
#endif
#define journal_oom_retry 1
......@@ -84,7 +83,6 @@ static inline void jbd_free(void *ptr, size_t size)
#define JFS_MIN_JOURNAL_BLOCKS 1024
#ifdef __KERNEL__
/**
* typedef handle_t - The handle_t type represents a single atomic update being performed by some process.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册